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

Skip to content

Commit fc30255

Browse files
author
David Joyce
committed
Revert netstandard2.0 Python.Runtime.dll for Windows
1 parent 48b18a4 commit fc30255

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/runtime/Python.Runtime.15.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@
134134
<Exec Command="cp $(NuGetPackageRoot)/microsoft.targetingpack.netframework.v4.5/1.0.1/lib/net45/System.XML.dll $(NuGetPackageRoot)/microsoft.targetingpack.netframework.v4.5/1.0.1/lib/net45/System.Xml.dll" />
135135
</Target>
136136
<Target Name="AfterBuild">
137-
<Copy Condition="'$(TargetFramework)'=='netstandard2.0'" SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" />
137+
<Copy Condition="'$(OS)'=='Windows_NT' AND '$(TargetFramework)'=='net40'" SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" />
138+
<Copy Condition="'$(OS)'!='Windows_NT' AND '$(TargetFramework)'=='netstandard2.0'" SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" />
138139
<!--Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" /-->
139140
</Target>
140141
</Project>

0 commit comments

Comments
 (0)