Skip to content

alextnull/NAudio.Sdl2.Library

 
 

Repository files navigation

NAudio.Sdl2.Library

This package contains native SDL2 libraries


.NET

Include the package using the PackageReference tag or simply install using the nuget package manager

 <ItemGroup>
  <PackageReference Include="NAudio.Sdl2.Library" Version="2.30.2" />
 </ItemGroup>

.NET Framework

Include the package using the PackageReference tag. Set GeneratePathProperty to true and ExcludeAssets to all.

 <ItemGroup>
  <PackageReference Include="NAudio.Sdl2.Library" Version="2.30.2" GeneratePathProperty="true" ExcludeAssets="all"/>
 </ItemGroup>

Copy SDL.dll to the output directory using the None tag.

Windows x86

 <ItemGroup>
  <None Include="$(PkgNAudio_Sdl2_Library)\runtimes\win-x86\native\SDL2.dll">
   <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  </None>

Windows x64

 <ItemGroup>
  <None Include="$(PkgNAudio_Sdl2_Library)\runtimes\win-x64\native\SDL2.dll">
   <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  </None>

About

SDL2# - C# Native libraries for SDL2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%