Don't bother pulling in native opus binaries from Concentus package (using ExcludeAssets).
This commit is contained in:
parent
167dfcd6ba
commit
b190c31338
1 changed files with 6 additions and 8 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue