Don't bother pulling in native opus binaries from Concentus package (using ExcludeAssets).

This commit is contained in:
Logan Stromberg 2024-05-04 10:25:17 -07:00
parent 167dfcd6ba
commit b190c31338

View file

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
@ -13,13 +13,11 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Concentus" />
<PackageReference Include="Concentus" >
<!-- Exclude Opus native binaries from coming in through the package, they are large and complicate the build -->
<IncludeAssets>compile;runtime</IncludeAssets>
<ExcludeAssets>contentFiles;build;native</ExcludeAssets>
</PackageReference>
<PackageReference Include="LibHac" />
</ItemGroup>
<!-- Due to Concentus. -->
<PropertyGroup>
<NoWarn>NU1605</NoWarn>
</PropertyGroup>
</Project>