Skip to content

Commit ddffaf2

Browse files
dsefractus
dse
authored andcommitted
pdb generation improved for all conditions Net 4.0/NetStandard 2.0 x Debug/Release.
1 parent 6c51ed5 commit ddffaf2

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

src/runtime/Python.Runtime.15.csproj

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
<PropertyGroup Condition="$(Configuration.Contains('Debug')) AND '$(TargetFramework)'=='net40'">
4949
<Optimize>false</Optimize>
5050
<DebugType>full</DebugType>
51+
<<<<<<< HEAD
5152
</PropertyGroup>
5253
<PropertyGroup Condition="$(Configuration.Contains('Release')) AND '$(TargetFramework)'=='net40'">
5354
<Optimize>true</Optimize>
@@ -87,6 +88,47 @@
8788
</PropertyGroup>
8889
<PropertyGroup Condition=" '$(Configuration)' == 'DebugWinPY3'">
8990
<DefineConstants Condition="'$(CustomDefineConstants)' == ''">$(DefineConstants);PYTHON3;$(Python3Version);$(PythonWinDefineConstants);TRACE;DEBUG</DefineConstants>
91+
=======
92+
</PropertyGroup>
93+
<PropertyGroup Condition="$(Configuration.Contains('Release')) AND '$(TargetFramework)'=='net40'">
94+
<Optimize>true</Optimize>
95+
<DebugType>pdbonly</DebugType>
96+
</PropertyGroup>
97+
<PropertyGroup Condition="$(Configuration.Contains('Debug')) AND '$(TargetFramework)'=='netstandard2.0'">
98+
<DebugSymbols>true</DebugSymbols>
99+
<Optimize>false</Optimize>
100+
<DebugType>full</DebugType>
101+
</PropertyGroup>
102+
<PropertyGroup Condition="$(Configuration.Contains('Release')) AND '$(TargetFramework)'=='netstandard2.0'">
103+
<DebugSymbols>true</DebugSymbols>
104+
<Optimize>true</Optimize>
105+
<DebugType>portable</DebugType>
106+
</PropertyGroup>
107+
108+
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseMono'">
109+
<DefineConstants Condition="'$(CustomDefineConstants)' == ''">$(DefineConstants);PYTHON2;PYTHON27;UCS4</DefineConstants>
110+
</PropertyGroup>
111+
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseMonoPY3'">
112+
<DefineConstants Condition="'$(CustomDefineConstants)' == ''">$(DefineConstants);PYTHON3;PYTHON36;UCS4</DefineConstants>
113+
</PropertyGroup>
114+
<PropertyGroup Condition=" '$(Configuration)' == 'DebugMono'">
115+
<DefineConstants Condition="'$(CustomDefineConstants)' == ''">$(DefineConstants);PYTHON2;PYTHON27;UCS4;TRACE;DEBUG</DefineConstants>
116+
</PropertyGroup>
117+
<PropertyGroup Condition=" '$(Configuration)' == 'DebugMonoPY3'">
118+
<DefineConstants Condition="'$(CustomDefineConstants)' == ''">$(DefineConstants);PYTHON3;PYTHON36;UCS4;TRACE;DEBUG</DefineConstants>
119+
</PropertyGroup>
120+
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseWin'">
121+
<DefineConstants Condition="'$(CustomDefineConstants)' == ''">$(DefineConstants);PYTHON2;PYTHON27;UCS2</DefineConstants>
122+
</PropertyGroup>
123+
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseWinPY3'">
124+
<DefineConstants Condition="'$(CustomDefineConstants)' == ''">$(DefineConstants);PYTHON3;PYTHON36;UCS2</DefineConstants>
125+
</PropertyGroup>
126+
<PropertyGroup Condition=" '$(Configuration)' == 'DebugWin'">
127+
<DefineConstants Condition="'$(CustomDefineConstants)' == ''">$(DefineConstants);PYTHON2;PYTHON27;UCS2;TRACE;DEBUG</DefineConstants>
128+
</PropertyGroup>
129+
<PropertyGroup Condition=" '$(Configuration)' == 'DebugWinPY3'">
130+
<DefineConstants Condition="'$(CustomDefineConstants)' == ''">$(DefineConstants);PYTHON3;PYTHON36;UCS2;TRACE;DEBUG</DefineConstants>
131+
>>>>>>> pdb generation improved for all conditions Net 4.0/NetStandard 2.0 x Debug/Release.
90132
</PropertyGroup>
91133

92134
<ItemGroup Condition=" '$(PythonInteropFile)' != '' ">

0 commit comments

Comments
 (0)