-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
37 lines (34 loc) · 1.77 KB
/
Directory.Build.props
File metadata and controls
37 lines (34 loc) · 1.77 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
34
35
36
37
<Project>
<PropertyGroup>
<!-- Repository Metadata -->
<Product>AdaptiveRemote</Product>
<RepositoryUrl>https://github.com/jodavis/AdaptiveRemote</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Copyright>Copyright ©2024 YourCompanyName</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/jodavis/AdaptiveRemote</PackageProjectUrl>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Deterministic>true</Deterministic>
</PropertyGroup>
<ItemGroup>
<!-- Enforce code analysis with latest analyzers -->
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" PrivateAssets="all" />
</ItemGroup>
<PropertyGroup>
<!-- Enforce Minimum code analysis rules -->
<AnalysisMode>Minimum</AnalysisMode>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<!-- Enable code style analysis at the latest level -->
<AnalysisLevelStyle>latest</AnalysisLevelStyle>
<!-- Enable documentation file generation to enable IDE0005 (unused usings) detection -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<!-- Suppress VSTHRD analyzers that are too strict for this project -->
<!-- These supressions should be addressed and removed. See https://github.com/jodavis/AdaptiveRemote/issues/41 -->
<!-- Suppress documentation warnings - we enable GenerateDocumentationFile only to get IDE0005 -->
<NoWarn>$(NoWarn);CS1591;CS1573;CS1584;CS1658</NoWarn>
<!-- This warning is about using a JoinableTaskFactory, which is intended to solve a specific
class of issues that this application does not have. -->
<NoWarn>$(NoWarn);VSTHRD001;VSTHRD012</NoWarn>
</PropertyGroup>
</Project>