Format and white-space project files · pythonnet/pythonnet@ffe376b · GitHub
Skip to content

Commit ffe376b

Browse files
committed
Format and white-space project files
1 parent dc90943 commit ffe376b

5 files changed

Lines changed: 52 additions & 44 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion

src/clrmodule/clrmodule.csproj

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
</PropertyGroup>
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseMono|x86'">
4242
<OutputPath>bin\x86\ReleaseMono\</OutputPath>
43-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
43+
<DefineConstants Condition="'$(DefineConstants)' == ''">
44+
</DefineConstants>
4445
<Optimize>true</Optimize>
4546
<DebugType>pdbonly</DebugType>
4647
<PlatformTarget>x86</PlatformTarget>
@@ -51,7 +52,8 @@
5152
</PropertyGroup>
5253
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseMono|x64'">
5354
<OutputPath>bin\x64\ReleaseMono\</OutputPath>
54-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
55+
<DefineConstants Condition="'$(DefineConstants)' == ''">
56+
</DefineConstants>
5557
<Optimize>true</Optimize>
5658
<DebugType>pdbonly</DebugType>
5759
<PlatformTarget>x64</PlatformTarget>
@@ -84,7 +86,8 @@
8486
</PropertyGroup>
8587
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseWin|x86'">
8688
<OutputPath>bin\x86\ReleaseWin\</OutputPath>
87-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
89+
<DefineConstants Condition="'$(DefineConstants)' == ''">
90+
</DefineConstants>
8891
<Optimize>true</Optimize>
8992
<DebugType>pdbonly</DebugType>
9093
<PlatformTarget>x86</PlatformTarget>
@@ -95,7 +98,8 @@
9598
</PropertyGroup>
9699
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseWin|x64'">
97100
<OutputPath>bin\x64\ReleaseWin\</OutputPath>
98-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
101+
<DefineConstants Condition="'$(DefineConstants)' == ''">
102+
</DefineConstants>
99103
<Optimize>true</Optimize>
100104
<DebugType>pdbonly</DebugType>
101105
<PlatformTarget>x64</PlatformTarget>
@@ -124,8 +128,8 @@
124128
<TargetAssemblyPdb>$(TargetDir)$(TargetName).pdb</TargetAssemblyPdb>
125129
</PropertyGroup>
126130
<Target Name="AfterBuild" DependsOnTargets="RGieseckeDllExport">
127-
<Copy SourceFiles="$(TargetAssembly)" DestinationFiles="$(PythonBuildDir)\clr.pyd" />
128-
<Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFiles="$(PythonBuildDir)\clr.pdb" />
131+
<Copy SourceFiles="$(TargetAssembly)" DestinationFiles="$(PythonBuildDir)\clr.pyd" />
132+
<Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFiles="$(PythonBuildDir)\clr.pdb" />
129133
</Target>
130134
<Import Project="../../packages/UnmanagedExports.1.2.6/tools/RGiesecke.DllExport.targets" Condition="Exists('../../packages/UnmanagedExports.1.2.6/tools/RGiesecke.DllExport.targets')" />
131-
</Project>
135+
</Project>

src/console/Console.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<ProductVersion>10.0.0</ProductVersion>
1919
<SchemaVersion>2.0</SchemaVersion>
2020
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
21-
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir>
21+
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir>
2222
</PropertyGroup>
2323
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2424
<DebugSymbols>True</DebugSymbols>
@@ -213,6 +213,6 @@
213213
<VisualStudio AllowExistingFolder="true" />
214214
</ProjectExtensions>
215215
<Target Name="AfterBuild">
216-
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PythonBuildDir)" />
216+
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PythonBuildDir)" />
217217
</Target>
218218
</Project>

src/embed_tests/Python.EmbeddingTest.csproj

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@
5959
</PropertyGroup>
6060
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseMono|x86'">
6161
<OutputPath>bin\x86\ReleaseMono\</OutputPath>
62-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
62+
<DefineConstants Condition="'$(DefineConstants)' == ''">
63+
</DefineConstants>
6364
<Optimize>true</Optimize>
6465
<DebugType>pdbonly</DebugType>
6566
<PlatformTarget>x86</PlatformTarget>
@@ -70,7 +71,8 @@
7071
</PropertyGroup>
7172
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseMono|x64'">
7273
<OutputPath>bin\x64\ReleaseMono\</OutputPath>
73-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
74+
<DefineConstants Condition="'$(DefineConstants)' == ''">
75+
</DefineConstants>
7476
<Optimize>true</Optimize>
7577
<DebugType>pdbonly</DebugType>
7678
<PlatformTarget>x64</PlatformTarget>
@@ -89,7 +91,7 @@
8991
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
9092
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
9193
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
92-
</PropertyGroup>
94+
</PropertyGroup>
9395
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugWin|x64'">
9496
<DebugSymbols>true</DebugSymbols>
9597
<OutputPath>bin\x64\DebugWin\</OutputPath>
@@ -103,7 +105,8 @@
103105
</PropertyGroup>
104106
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseWin|x86'">
105107
<OutputPath>bin\x86\ReleaseWin\</OutputPath>
106-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
108+
<DefineConstants Condition="'$(DefineConstants)' == ''">
109+
</DefineConstants>
107110
<Optimize>true</Optimize>
108111
<DebugType>pdbonly</DebugType>
109112
<PlatformTarget>x86</PlatformTarget>
@@ -114,7 +117,8 @@
114117
</PropertyGroup>
115118
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseWin|x64'">
116119
<OutputPath>bin\x64\ReleaseWin\</OutputPath>
117-
<DefineConstants Condition="'$(DefineConstants)' == ''"></DefineConstants>
120+
<DefineConstants Condition="'$(DefineConstants)' == ''">
121+
</DefineConstants>
118122
<Optimize>true</Optimize>
119123
<DebugType>pdbonly</DebugType>
120124
<PlatformTarget>x64</PlatformTarget>
@@ -177,7 +181,7 @@
177181
<TargetAssemblyPdb>$(TargetDir)$(TargetName).pdb</TargetAssemblyPdb>
178182
</PropertyGroup>
179183
<Target Name="AfterBuild">
180-
<Copy SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" />
181-
<Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" />
184+
<Copy SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" />
185+
<Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" />
182186
</Target>
183-
</Project>
187+
</Project>

src/runtime/Python.Runtime.csproj

Lines changed: 26 additions & 26 deletions

0 commit comments

Comments
 (0)