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

Fix incorrect native library path

Added support for x86 NuGet package
This commit is contained in:
Ben Parsons 2020-05-02 17:47:30 +10:00
parent ca567a5594
commit 3b3bdc34c4

View File

@ -14,7 +14,7 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<Version>3.0.1</Version> <Version>3.0.2</Version>
<PackProject>true</PackProject> <PackProject>true</PackProject>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);GetNativeLibraryFiles</TargetsForTfmSpecificBuildOutput> <TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);GetNativeLibraryFiles</TargetsForTfmSpecificBuildOutput>
<PackageLicenseExpression>Zlib</PackageLicenseExpression> <PackageLicenseExpression>Zlib</PackageLicenseExpression>
@ -39,13 +39,19 @@
<Target Name="GetNativeLibraryFiles"> <Target Name="GetNativeLibraryFiles">
<ItemGroup> <ItemGroup>
<TfmSpecificPackageFile Include="$(BaseOutputPath)\..\runtimes\linux-x64\libraylib.so"> <TfmSpecificPackageFile Include="$(BaseOutputPath)\..\runtimes\linux-x64\native\libraylib.so">
<PackagePath>runtimes/linux-x64/native</PackagePath> <PackagePath>runtimes/linux-x64/native</PackagePath>
</TfmSpecificPackageFile> </TfmSpecificPackageFile>
<TfmSpecificPackageFile Include="$(BaseOutputPath)\..\runtimes\win-x64\raylib.dll"> <TfmSpecificPackageFile Include="$(BaseOutputPath)\..\runtimes\linux-x86\native\libraylib.so">
<PackagePath>runtimes/linux-x86/native</PackagePath>
</TfmSpecificPackageFile>
<TfmSpecificPackageFile Include="$(BaseOutputPath)\..\runtimes\win-x64\native\raylib.dll">
<PackagePath>runtimes/win-x64/native</PackagePath> <PackagePath>runtimes/win-x64/native</PackagePath>
</TfmSpecificPackageFile> </TfmSpecificPackageFile>
<TfmSpecificPackageFile Include="$(BaseOutputPath)\..\runtimes\osx-x64\libraylib.a"> <TfmSpecificPackageFile Include="$(BaseOutputPath)\..\runtimes\win-x86\native\raylib.dll">
<PackagePath>runtimes/win-x86/native</PackagePath>
</TfmSpecificPackageFile>
<TfmSpecificPackageFile Include="$(BaseOutputPath)\..\runtimes\osx-x64\native\libraylib.a">
<PackagePath>runtimes/osx-x64/native</PackagePath> <PackagePath>runtimes/osx-x64/native</PackagePath>
</TfmSpecificPackageFile> </TfmSpecificPackageFile>
</ItemGroup> </ItemGroup>