mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 17:47:24 +02:00
34 lines
1.4 KiB
XML
34 lines
1.4 KiB
XML
<Project>
|
|
<ItemDefinitionGroup>
|
|
<PackageReference>
|
|
<!--
|
|
Make all packages used by RT default to having everything private except what's needed to run the game (runtime, native)
|
|
This is to avoid having them leak to content, as they are primarily an implementation detail.
|
|
Where necessary, this can be overriden by doing PrivateAssets="none" on the PackageReference entry.
|
|
-->
|
|
<PrivateAssets>compile;contentFiles;build;buildMultitargeting;buildTransitive;analyzers</PrivateAssets>
|
|
</PackageReference>
|
|
</ItemDefinitionGroup>
|
|
|
|
<PropertyGroup>
|
|
<!--
|
|
Disable transitive project references.
|
|
This is just to avoid venues of leaky implementation details into content.
|
|
Being strict is always good.
|
|
-->
|
|
<DisableTransitiveProjectReferences>True</DisableTransitiveProjectReferences>
|
|
|
|
<!--
|
|
Shut up broken package pruning warnings.
|
|
We need these unpruneable packages because of transitive dependency pinning.
|
|
-->
|
|
<NoWarn>$(NoWarn);NU1510</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<!-- Robust.Benchmarks needs to see all of our dependencies,
|
|
so we need to disable transitive project reference disabling for it.-->
|
|
<PropertyGroup Condition="'$(MSBuildProjectName)' == 'BenchmarkDotNet.Autogenerated'">
|
|
<DisableTransitiveProjectReferences>false</DisableTransitiveProjectReferences>
|
|
</PropertyGroup>
|
|
</Project>
|