forked from space-wizards/RobustToolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
33 lines (30 loc) · 1.36 KB
/
Copy pathDirectory.Build.props
File metadata and controls
33 lines (30 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<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>