Skip to content

Commit e4b2348

Browse files
authored
Final fix?
1 parent 517ab4c commit e4b2348

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/Wrappers/AngouriMath.CPP.Exporting/AngouriMath.CPP.Exporting.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
</PropertyGroup>
1010

1111
<Target Name="Copy for Windows" Condition="$([MSBuild]::IsOSPlatform('Windows'))" AfterTargets="Publish">
12-
<Exec Command="mkdir ..\AngouriMath.CPP.Importing\out-x64 &amp; xcopy $(PublishDir) ..\AngouriMath.CPP.Importing\out-x64 /H /Y" />
12+
<Exec Command="mkdir ..\AngouriMath.CPP.Importing\out-x64 &amp; xcopy $(OutDir)\native ..\AngouriMath.CPP.Importing\out-x64 /H /Y" />
13+
<!-- For some reason, AngouriMath.CPP.Exporting.lib exists in $(OutDir)\native and not $(OutDir)\publish (which is $(PublishDir))... -->
1314
</Target>
1415

1516
<Target Name="Copy for Unix" Condition="$([MSBuild]::IsOSPlatform('Linux')) Or $([MSBuild]::IsOSPlatform('OSX'))" AfterTargets="Publish">

0 commit comments

Comments
 (0)