Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3cb531a

Browse files
committed
Split blank DefineConstants on *.csproj
Visual Studio by default wants to split these. Any time the csproj is update (new test for example) it splits them. Splitting them now to not worry about them when reviewing pull_requests.
1 parent b21fab9 commit 3cb531a

File tree

4 files changed

+24
-13
lines changed

4 files changed

+24
-13
lines changed

src/console/Console.csproj

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
<DebugType>full</DebugType>
3232
</PropertyGroup>
3333
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseMono'">
34-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
34+
<DefineConstants Condition="'$(DefineConstants)' == ''">
35+
</DefineConstants>
3536
<Optimize>true</Optimize>
3637
<DebugType>pdbonly</DebugType>
3738
</PropertyGroup>
@@ -41,7 +42,8 @@
4142
<DebugType>full</DebugType>
4243
</PropertyGroup>
4344
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseWin'">
44-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
45+
<DefineConstants Condition="'$(DefineConstants)' == ''">
46+
</DefineConstants>
4547
<Optimize>true</Optimize>
4648
<DebugType>pdbonly</DebugType>
4749
</PropertyGroup>
@@ -51,7 +53,8 @@
5153
<DebugType>full</DebugType>
5254
</PropertyGroup>
5355
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseMonoPY3'">
54-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
56+
<DefineConstants Condition="'$(DefineConstants)' == ''">
57+
</DefineConstants>
5558
<Optimize>true</Optimize>
5659
<DebugType>pdbonly</DebugType>
5760
</PropertyGroup>
@@ -61,7 +64,8 @@
6164
<DebugType>full</DebugType>
6265
</PropertyGroup>
6366
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseWinPY3'">
64-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
67+
<DefineConstants Condition="'$(DefineConstants)' == ''">
68+
</DefineConstants>
6569
<Optimize>true</Optimize>
6670
<DebugType>pdbonly</DebugType>
6771
</PropertyGroup>

src/embed_tests/Python.EmbeddingTest.csproj

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
<DebugType>full</DebugType>
3131
</PropertyGroup>
3232
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseMono'">
33-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
33+
<DefineConstants Condition="'$(DefineConstants)' == ''">
34+
</DefineConstants>
3435
<Optimize>true</Optimize>
3536
<DebugType>pdbonly</DebugType>
3637
</PropertyGroup>
@@ -40,7 +41,8 @@
4041
<DebugType>full</DebugType>
4142
</PropertyGroup>
4243
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseWin'">
43-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
44+
<DefineConstants Condition="'$(DefineConstants)' == ''">
45+
</DefineConstants>
4446
<Optimize>true</Optimize>
4547
<DebugType>pdbonly</DebugType>
4648
</PropertyGroup>
@@ -50,7 +52,8 @@
5052
<DebugType>full</DebugType>
5153
</PropertyGroup>
5254
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseMonoPY3'">
53-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
55+
<DefineConstants Condition="'$(DefineConstants)' == ''">
56+
</DefineConstants>
5457
<Optimize>true</Optimize>
5558
<DebugType>pdbonly</DebugType>
5659
</PropertyGroup>
@@ -60,7 +63,8 @@
6063
<DebugType>full</DebugType>
6164
</PropertyGroup>
6265
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseWinPY3'">
63-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
66+
<DefineConstants Condition="'$(DefineConstants)' == ''">
67+
</DefineConstants>
6468
<Optimize>true</Optimize>
6569
<DebugType>pdbonly</DebugType>
6670
</PropertyGroup>

src/runtime/runtime.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ internal static void Initialize()
195195
{
196196
op = Runtime.PyImport_ImportModule("builtins");
197197
dict = Runtime.PyObject_GetAttrString(op, "__dict__");
198-
199198
}
200199
else // Python2
201200
{

src/testing/Python.Test.csproj

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
<DebugType>full</DebugType>
3232
</PropertyGroup>
3333
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseMono'">
34-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
34+
<DefineConstants Condition="'$(DefineConstants)' == ''">
35+
</DefineConstants>
3536
<Optimize>true</Optimize>
3637
<DebugType>pdbonly</DebugType>
3738
</PropertyGroup>
@@ -41,7 +42,8 @@
4142
<DebugType>full</DebugType>
4243
</PropertyGroup>
4344
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseWin'">
44-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
45+
<DefineConstants Condition="'$(DefineConstants)' == ''">
46+
</DefineConstants>
4547
<Optimize>true</Optimize>
4648
<DebugType>pdbonly</DebugType>
4749
</PropertyGroup>
@@ -51,7 +53,8 @@
5153
<DebugType>full</DebugType>
5254
</PropertyGroup>
5355
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseMonoPY3'">
54-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
56+
<DefineConstants Condition="'$(DefineConstants)' == ''">
57+
</DefineConstants>
5558
<Optimize>true</Optimize>
5659
<DebugType>pdbonly</DebugType>
5760
</PropertyGroup>
@@ -61,7 +64,8 @@
6164
<DebugType>full</DebugType>
6265
</PropertyGroup>
6366
<PropertyGroup Condition=" '$(Configuration)' == 'ReleaseWinPY3'">
64-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
67+
<DefineConstants Condition="'$(DefineConstants)' == ''">
68+
</DefineConstants>
6569
<Optimize>true</Optimize>
6670
<DebugType>pdbonly</DebugType>
6771
</PropertyGroup>

0 commit comments

Comments
 (0)