2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-06-30 19:03:42 -04:00

Work on nuget support

- Improved Raylib-cs.nuspec.
- Added Raylib-cs.targets file to copy dll for user.
This commit is contained in:
2018-12-29 12:27:30 +00:00
parent d4d47694d4
commit 712106a58b
2 changed files with 32 additions and 3 deletions

17
Raylib-cs.targets Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Condition=" '$(Platform)' == 'x64' ">
<Content Include="$(MSBuildThisFileDirectory)..\native\x64\raylib.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>raylib.dll</Link>
</Content>
</ItemGroup>
<ItemGroup Condition=" '$(Platform)' == 'x86' OR '$(Platform)' == 'AnyCPU' ">
<Content Include="$(MSBuildThisFileDirectory)..\native\x86\raylib.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>raylib.dll</Link>
</Content>
</ItemGroup>
</Project>