e8795ff105
Add MSBuild targets for net46 target framework which copy both x86 and x64 libsodium binaries into corresponding folders. This allows AnyCPU applications to load the appropriate binary at runtime via `LoadLibraryEx`.
16 lines
799 B
XML
16 lines
799 B
XML
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup>
|
|
<None Include="$(MSBuildThisFileDirectory)..\..\runtimes\win7-x86\native\libsodium.dll">
|
|
<Link>x86\libsodium.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
<Visible>false</Visible>
|
|
</None>
|
|
<None Include="$(MSBuildThisFileDirectory)..\..\runtimes\win7-x64\native\libsodium.dll">
|
|
<Link>x64\libsodium.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
|
|
<Visible>false</Visible>
|
|
</None>
|
|
</ItemGroup>
|
|
</Project> |