2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-04-05 11:19:39 -04: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>
<ItemGroup> <ItemGroup>
<Content Include="raylib-cs.ico" /> <Content Include="raylib-cs.ico" />
<Content Include="raylib.dll">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <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> </Project>

Binary file not shown.

BIN
Bindings/lib/x64/raylib.dll Normal file

Binary file not shown.

BIN
Bindings/lib/x86/raylib.dll Normal file

Binary file not shown.

Binary file not shown.