2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-12-16 20:34:58 +01:00

Added fixes to Handle x86 and x64 bit dll dependencies of raylib

This commit is contained in:
msmshazan
2018-10-05 23:47:19 +05:30
parent 87049c7ae4
commit 9afa8103ac
5 changed files with 5 additions and 3 deletions

View File

@@ -101,9 +101,11 @@
</ItemGroup>
<ItemGroup>
<Content Include="raylib-cs.ico" />
<Content Include="raylib.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="AfterBuild">
<Copy Condition=" '$(Platform)' == 'x86' " SourceFiles="lib\x86\raylib.dll" DestinationFolder="$(TargetDir)" />
<Copy Condition=" '$(Platform)' == 'AnyCPU' " SourceFiles="lib\x86\raylib.dll" DestinationFolder="$(TargetDir)" />
<Copy Condition=" '$(Platform)' == 'x64' " SourceFiles="lib\x64\raylib.dll" DestinationFolder="$(TargetDir)" />
</Target>
</Project>