-
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
28 lines (28 loc) · 1.35 KB
/
Directory.Build.props
File metadata and controls
28 lines (28 loc) · 1.35 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
<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>
<AnalysisLevel>6</AnalysisLevel>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
<CodeAnalysisRuleSet>$(SolutionDir)Common.ruleset</CodeAnalysisRuleSet>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<Features>strict</Features>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>14.0</LangVersion>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
</PropertyGroup>
<ItemGroup>
<AdditionalFiles Include="$(SolutionDir).stylecop.json" />
<InternalsVisibleTo Include="$(AssemblyName).Tests" />
<PackageReference Include="StyleCop.Analyzers" />
</ItemGroup>
<ItemGroup Condition=" !$(MSBuildProjectDirectory.StartsWith('$(SolutionDir)analyzers')) ">
<ProjectReference Include="$(SolutionDir)analyzers/TASVideos.Analyzers.Style/TASVideos.Analyzers.Style.csproj"
OutputItemType="Analyzer" PrivateAssets="all" ReferenceOutputAssembly="false" />
</ItemGroup>
</Project>