-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
36 lines (33 loc) · 1.47 KB
/
Directory.Build.props
File metadata and controls
36 lines (33 loc) · 1.47 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
<Project>
<PropertyGroup Label="General Configuration">
<TargetFrameworks>net9.0;net10.0</TargetFrameworks>
<LangVersion>latest</LangVersion>
<PlatformTarget>AnyCpu</PlatformTarget>
<OutputType>Library</OutputType>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Optimize>true</Optimize>
<Deterministic>true</Deterministic>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>All</AnalysisMode>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup Label="Package Files">
<None Include="../../README.md" Pack="true" PackagePath="/" />
<None Include="../../icon.png" Pack="true" PackagePath="/" />
</ItemGroup>
<ItemGroup Label="Analyzer Configuration">
<PackageReference Include="SonarAnalyzer.CSharp">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Label="Core Dependency" Condition="'$(MSBuildProjectName)' != 'TypeGuard.Core'">
<ProjectReference Include="..\TypeGuard.Core\TypeGuard.Core.csproj" />
</ItemGroup>
</Project>