8000 .Net 45 TargetingPack System.XML.dll naming fix. (For xplat linux bui… · pythonnet/pythonnet@8b0b399 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b0b399

Browse files
author
dse
committed
.Net 45 TargetingPack System.XML.dll naming fix. (For xplat linux build).
1 parent 0abfde0 commit 8b0b399

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/runtime/Python.Runtime.15.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@
113113
<TargetAssemblyPdb>$(TargetDir)$(TargetName).pdb</TargetAssemblyPdb>
114114
</PropertyGroup>
115115

116+
<Target Name="BeforeBuild" Condition="'$(TargetFramework)'=='net40' AND $(Configuration.Contains('Mono'))">
117+
<!--Endless war!-->
118+
<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" />
119+
</Target>
116120
<Target Name="AfterBuild">
117121
<Copy SourceFiles="$(TargetAssembly)" DestinationFolder="$(PythonBuildDir)" />
118122
<!--Copy SourceFiles="$(TargetAssemblyPdb)" Condition="Exists('$(TargetAssemblyPdb)')" DestinationFolder="$(PythonBuildDir)" /-->

0 commit comments

Comments
 (0)
0