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

Skip to content

Commit 9e85489

Browse files
committed
Move PythonBuildDir when not defined
Keep root of solution clean and out of the way from being imported because its on the `cwd`.
1 parent 289d29d commit 9e85489

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/clrmodule/clrmodule.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<TargetFrameworkProfile />
1414
<NoWarn>1591</NoWarn>
1515
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
16-
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir>
16+
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)\bin\</PythonBuildDir>
1717
<AppDesignerFolder>Properties</AppDesignerFolder>
1818
<!--If need to freeze language version: <LangVersion>5</LangVersion> !-->
1919
<RestorePackages>true</RestorePackages>

src/console/Console.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<TargetFrameworkProfile />
1414
<NoWarn>1591</NoWarn>
1515
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
16-
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir>
16+
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)\bin\</PythonBuildDir>
1717
<AppDesignerFolder>Properties</AppDesignerFolder>
1818
<!--If need to freeze language version: <LangVersion>5</LangVersion> !-->
1919
<ApplicationIcon>python-clear.ico</ApplicationIcon>

src/embed_tests/Python.EmbeddingTest.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<TargetFrameworkProfile />
1414
<NoWarn>1591</NoWarn>
1515
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
16-
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir>
16+
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)\bin\</PythonBuildDir>
1717
<!--If need to freeze language version: <LangVersion>5</LangVersion> !-->
1818
<RestorePackages>true</RestorePackages>
1919
<ErrorReport>prompt</ErrorReport>

src/runtime/Python.Runtime.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<TargetFrameworkProfile />
1414
<NoWarn>1591</NoWarn>
1515
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
16-
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir>
16+
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)\bin\</PythonBuildDir>
1717
<AppDesignerFolder>Properties</AppDesignerFolder>
1818
<!--If need to freeze language version: <LangVersion>5</LangVersion> !-->
1919
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

src/testing/Python.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<TargetFrameworkProfile />
1414
<NoWarn>1591,0067</NoWarn>
1515
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
16-
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)</PythonBuildDir>
16+
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)\bin\</PythonBuildDir>
1717
<!--If need to freeze language version: <LangVersion>5</LangVersion> !-->
1818
<SignAssembly>false</SignAssembly>
1919
<AssemblyOriginatorKeyFile>..\pythonnet.snk</AssemblyOriginatorKeyFile>

0 commit comments

Comments
 (0)