-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathDirectory.Build.props
23 lines (19 loc) · 1.09 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Project>
<PropertyGroup>
<!-- Custom property defining all supported standard TargetFrameworks of all nuget assemblies
During development in Rider StandardFrameworks is overriden (cleared) to: StandardFrameworks=
Rider: Preferences > Build, Execution, Deployment > Toolset and Build > MSBuild Global Properties > Edit -->
<StandardFrameworks>netstandard2.0;netstandard2.1</StandardFrameworks>
<!-- Renamed default output folders obj & bin to .obj & .bin to avoid importing them by Unity -->
<BaseIntermediateOutputPath>.obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<!-- Ban APIs listed in BannedSymbols.txt -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)/BannedSymbols.txt" />
</ItemGroup>
</Project>