15
15
<DebugType >full</DebugType >
16
16
<Optimize >true</Optimize >
17
17
<OutputPath >.\bin\Debug\</OutputPath >
18
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
18
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
19
19
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
20
20
</PropertyGroup >
21
21
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
22
22
<DebugType >pdbonly</DebugType >
23
23
<Optimize >true</Optimize >
24
24
<OutputPath >.\bin\Release\</OutputPath >
25
- <DefineConstants >TRACE;PYTHON27, UCS2</DefineConstants >
25
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;PYTHON27, UCS2</DefineConstants >
26
26
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
27
27
</PropertyGroup >
28
28
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'EmbeddingTest|AnyCPU' " >
29
29
<DebugSymbols >true</DebugSymbols >
30
30
<OutputPath >bin\EmbeddingTest\</OutputPath >
31
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
31
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
32
32
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
33
33
<Optimize >true</Optimize >
34
34
<DebugType >full</DebugType >
37
37
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'UnitTests|AnyCPU' " >
38
38
<DebugSymbols >true</DebugSymbols >
39
39
<OutputPath >bin\UnitTests\</OutputPath >
40
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
40
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
41
41
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
42
42
<Optimize >true</Optimize >
43
43
<DebugType >full</DebugType >
44
44
<PlatformTarget >AnyCPU</PlatformTarget >
45
45
</PropertyGroup >
46
46
<PropertyGroup >
47
- <SignAssembly >true </SignAssembly >
47
+ <SignAssembly >false </SignAssembly >
48
48
</PropertyGroup >
49
49
<PropertyGroup >
50
50
<AssemblyOriginatorKeyFile >pythonnet.snk</AssemblyOriginatorKeyFile >
51
51
</PropertyGroup >
52
52
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|x86'" >
53
53
<DebugSymbols >true</DebugSymbols >
54
54
<OutputPath >bin\x86\Debug\</OutputPath >
55
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants >
55
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants >
56
56
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
57
57
<Optimize >true</Optimize >
58
58
<DebugType >full</DebugType >
59
59
<PlatformTarget >x86</PlatformTarget >
60
60
</PropertyGroup >
61
61
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|x86'" >
62
62
<OutputPath >bin\x86\Release\</OutputPath >
63
- <DefineConstants >PYTHON27, UCS4</DefineConstants >
63
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >PYTHON27, UCS4</DefineConstants >
64
64
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
65
65
<Optimize >true</Optimize >
66
66
<DebugType >pdbonly</DebugType >
70
70
</PropertyGroup >
71
71
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'EmbeddingTest|x86'" >
72
72
<DebugSymbols >true</DebugSymbols >
73
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
73
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
74
74
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
75
75
<Optimize >true</Optimize >
76
76
<DebugType >full</DebugType >
82
82
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'UnitTests|x86'" >
83
83
<DebugSymbols >true</DebugSymbols >
84
84
<OutputPath >bin\x86\UnitTests\</OutputPath >
85
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
85
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
86
86
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
87
87
<Optimize >true</Optimize >
88
88
<DebugType >full</DebugType >
91
91
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'DebugMono_x86|AnyCPU'" >
92
92
<DebugSymbols >true</DebugSymbols >
93
93
<OutputPath >bin\DebugMono_x86\</OutputPath >
94
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
94
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
95
95
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
96
96
<Optimize >true</Optimize >
97
97
<DebugType >full</DebugType >
103
103
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'DebugMono_x86|x86'" >
104
104
<DebugSymbols >true</DebugSymbols >
105
105
<OutputPath >bin\x86\DebugMono_x86\</OutputPath >
106
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants >
106
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants >
107
107
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
108
108
<Optimize >true</Optimize >
109
109
<DebugType >full</DebugType >
112
112
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|x64'" >
113
113
<DebugSymbols >true</DebugSymbols >
114
114
<OutputPath >bin\x64\Debug\</OutputPath >
115
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants >
115
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants >
116
116
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
117
117
<Optimize >true</Optimize >
118
118
<DebugType >full</DebugType >
121
121
</PropertyGroup >
122
122
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|x64'" >
123
123
<OutputPath >bin\x64\Release\</OutputPath >
124
- <DefineConstants >PYTHON27, UCS4 </DefineConstants >
124
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >PYTHON32, UCS2 </DefineConstants >
125
125
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
126
126
<Optimize >true</Optimize >
127
127
<DebugType >pdbonly</DebugType >
132
132
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'EmbeddingTest|x64'" >
133
133
<DebugSymbols >true</DebugSymbols >
134
134
<OutputPath >bin\x64\EmbeddingTest\</OutputPath >
135
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
135
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
136
136
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
137
137
<Optimize >true</Optimize >
138
138
<DebugType >full</DebugType >
144
144
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'UnitTests|x64'" >
145
145
<DebugSymbols >true</DebugSymbols >
146
146
<OutputPath >bin\x64\UnitTests\</OutputPath >
147
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
147
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS2</DefineConstants >
148
148
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
149
149
<Optimize >true</Optimize >
150
150
<DebugType >full</DebugType >
156
156
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'DebugMono_x86|x64'" >
157
157
<DebugSymbols >true</DebugSymbols >
158
158
<OutputPath >bin\x64\DebugMono_x86\</OutputPath >
159
- <DefineConstants >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants >
159
+ <DefineConstants Condition = " '$(DefineConstants)'=='' " >TRACE;DEBUG;PYTHON27,UCS4</DefineConstants >
160
160
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
161
161
<Optimize >true</Optimize >
162
162
<DebugType >full</DebugType >
@@ -244,4 +244,4 @@ copy "$(TargetDir)clr.pyd" "$(SolutionDir)"
244
244
<PreBuildEvent >del "$(TargetDir)clr.pyd"</PreBuildEvent >
245
245
</PropertyGroup >
246
246
<Import Project =" ../../packages/UnmanagedExports.1.2.3-Beta/tools/RGiesecke.DllExport.targets" />
247
- </Project >
247
+ </Project >
0 commit comments