2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-04-05 11:19:39 -04:00

Merge pull request #8 from msmshazan/nativedll-fix

Added fixes to Handle x86 and x64 bit dll dependencies of raylib
This commit is contained in:
ChrisDill 2018-10-05 20:33:05 +01:00 committed by GitHub
commit a2cbae129b
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.