-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Directory.Build.props
17 lines (17 loc) · 756 Bytes
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<Project>
<PropertyGroup Condition=" '$(SolutionDir)' == '' ">
<!-- needed when building individual projects, which you probably don't want to do, but VS Code was doing it regardless -->
<SolutionDir>$(MSBuildThisFileDirectory)</SolutionDir>
</PropertyGroup>
<PropertyGroup>
<Nullable>enable</Nullable>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<CodeAnalysisRuleSet>$(SolutionDir)Common.ruleset</CodeAnalysisRuleSet>
<ImplicitUsings>enable</ImplicitUsings>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<AdditionalFiles Include="$(SolutionDir).stylecop.json" />
<PackageReference Include="StyleCop.Analyzers" />
</ItemGroup>
</Project>