Skip to content

Commit f62eb63

Browse files
patstewtonyroberts
authored andcommitted
Update c# project
1 parent 3f2f677 commit f62eb63

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

pythonnet/src/runtime/Python.Runtime.csproj

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515
<DebugType>full</DebugType>
1616
<Optimize>true</Optimize>
1717
<OutputPath>.\bin\Debug\</OutputPath>
18-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
18+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
1919
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2020
</PropertyGroup>
2121
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2222
<DebugType>pdbonly</DebugType>
2323
<Optimize>true</Optimize>
2424
<OutputPath>.\bin\Release\</OutputPath>
25-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;PYTHON27, UCS2</DefineConstants>
25+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;PYTHON27, UCS2</DefineConstants>
2626
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2727
</PropertyGroup>
2828
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'EmbeddingTest|AnyCPU' ">
2929
<DebugSymbols>true</DebugSymbols>
3030
<OutputPath>bin\EmbeddingTest\</OutputPath>
31-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
31+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
3232
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
3333
<Optimize>true</Optimize>
3434
<DebugType>full</DebugType>
@@ -37,7 +37,7 @@
3737
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'UnitTests|AnyCPU' ">
3838
<DebugSymbols>true</DebugSymbols>
3939
<OutputPath>bin\UnitTests\</OutputPath>
40-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
40+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
4141
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
4242
<Optimize>true</Optimize>
4343
<DebugType>full</DebugType>
@@ -52,25 +52,26 @@
5252
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
5353
<DebugSymbols>true</DebugSymbols>
5454
<OutputPath>bin\x86\Debug\</OutputPath>
55-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants>
55+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS4</DefineConstants>
5656
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5757
<Optimize>true</Optimize>
5858
<DebugType>full</DebugType>
5959
<PlatformTarget>x86</PlatformTarget>
6060
</PropertyGroup>
6161
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
6262
<OutputPath>bin\x86\Release\</OutputPath>
63-
<DefineConstants Condition=" '$(DefineConstants)'==''" >PYTHON27, UCS4</DefineConstants>
63+
<DefineConstants Condition=" '$(DefineConstants)'==''">PYTHON27, UCS4</DefineConstants>
6464
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
6565
<Optimize>true</Optimize>
6666
<DebugType>pdbonly</DebugType>
6767
<PlatformTarget>x86</PlatformTarget>
6868
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
6969
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
70+
<DefineConstants>PYTHON27,UCS2</DefineConstants>
7071
</PropertyGroup>
7172
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'EmbeddingTest|x86'">
7273
<DebugSymbols>true</DebugSymbols>
73-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
74+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
7475
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7576
<Optimize>true</Optimize>
7677
<DebugType>full</DebugType>
@@ -82,7 +83,7 @@
8283
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'UnitTests|x86'">
8384
<DebugSymbols>true</DebugSymbols>
8485
<OutputPath>bin\x86\UnitTests\</OutputPath>
85-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
86+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
8687
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
8788
<Optimize>true</Optimize>
8889
<DebugType>full</DebugType>
@@ -91,7 +92,7 @@
9192
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugMono_x86|AnyCPU'">
9293
<DebugSymbols>true</DebugSymbols>
9394
<OutputPath>bin\DebugMono_x86\</OutputPath>
94-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
95+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
9596
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
9697
<Optimize>true</Optimize>
9798
<DebugType>full</DebugType>
@@ -103,7 +104,7 @@
103104
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugMono_x86|x86'">
104105
<DebugSymbols>true</DebugSymbols>
105106
<OutputPath>bin\x86\DebugMono_x86\</OutputPath>
106-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants>
107+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS4</DefineConstants>
107108
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
108109
<Optimize>true</Optimize>
109110
<DebugType>full</DebugType>
@@ -112,7 +113,7 @@
112113
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
113114
<DebugSymbols>true</DebugSymbols>
114115
<OutputPath>bin\x64\Debug\</OutputPath>
115-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants>
116+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS4</DefineConstants>
116117
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
117118
<Optimize>true</Optimize>
118119
<DebugType>full</DebugType>
@@ -121,7 +122,7 @@
121122
</PropertyGroup>
122123
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
123124
<OutputPath>bin\x64\Release\</OutputPath>
124-
<DefineConstants Condition=" '$(DefineConstants)'==''" >PYTHON32, UCS2</DefineConstants>
125+
<DefineConstants Condition=" '$(DefineConstants)'==''">PYTHON32, UCS2</DefineConstants>
125126
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
126127
<Optimize>true</Optimize>
127128
<DebugType>pdbonly</DebugType>
@@ -132,7 +133,7 @@
132133
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'EmbeddingTest|x64'">
133134
<DebugSymbols>true</DebugSymbols>
134135
<OutputPath>bin\x64\EmbeddingTest\</OutputPath>
135-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
136+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
136137
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
137138
<Optimize>true</Optimize>
138139
<DebugType>full</DebugType>
@@ -144,7 +145,7 @@
144145
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'UnitTests|x64'">
145146
<DebugSymbols>true</DebugSymbols>
146147
<OutputPath>bin\x64\UnitTests\</OutputPath>
147-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
148+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS2</DefineConstants>
148149
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
149150
<Optimize>true</Optimize>
150151
<DebugType>full</DebugType>
@@ -156,13 +157,14 @@
156157
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugMono_x86|x64'">
157158
<DebugSymbols>true</DebugSymbols>
158159
<OutputPath>bin\x64\DebugMono_x86\</OutputPath>
159-
<DefineConstants Condition=" '$(DefineConstants)'==''" >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants>
160+
<DefineConstants Condition=" '$(DefineConstants)'==''">TRACE;DEBUG;PYTHON27,UCS4</DefineConstants>
160161
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
161162
<Optimize>true</Optimize>
162163
<DebugType>full</DebugType>
163164
<PlatformTarget>x64</PlatformTarget>
164165
</PropertyGroup>
165166
<ItemGroup>
167+
<Reference Include="Microsoft.CSharp" />
166168
<Reference Include="System" />
167169
</ItemGroup>
168170
<ItemGroup>
@@ -244,4 +246,4 @@ copy "$(TargetDir)clr.pyd" "$(SolutionDir)"
244246
<PreBuildEvent>del "$(TargetDir)clr.pyd"</PreBuildEvent>
245247
</PropertyGroup>
246248
<Import Project="../../packages/UnmanagedExports.1.2.3-Beta/tools/RGiesecke.DllExport.targets" />
247-
</Project>
249+
</Project>

0 commit comments

Comments
 (0)