|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 | 3 |
|
4 | | - <PropertyGroup Label="Configuration variables"> |
5 | | - <DotNet3Version>3.1.1</DotNet3Version> |
6 | | - <DotNet5Version>5.0.0</DotNet5Version> |
7 | | - </PropertyGroup> |
| 4 | + <PropertyGroup Label="Configuration variables"> |
| 5 | + <DotNet3Version>3.1.1</DotNet3Version> |
| 6 | + <DotNet5Version>5.0.0</DotNet5Version> |
| 7 | + </PropertyGroup> |
8 | 8 |
|
9 | | - <!-- Solution wide properties --> |
10 | | - <PropertyGroup Label="Assembly Naming"> |
11 | | - <Company>Egil Hansen</Company> |
12 | | - <Authors>Egil Hansen</Authors> |
13 | | - <NeutralLanguage>en</NeutralLanguage> |
14 | | - <DefaultLanguage>en-US</DefaultLanguage> |
15 | | - </PropertyGroup> |
| 9 | + <!-- Solution wide properties --> |
| 10 | + <PropertyGroup Label="Assembly Naming"> |
| 11 | + <Company>Egil Hansen</Company> |
| 12 | + <Authors>Egil Hansen</Authors> |
| 13 | + <NeutralLanguage>en</NeutralLanguage> |
| 14 | + <DefaultLanguage>en-US</DefaultLanguage> |
| 15 | + </PropertyGroup> |
16 | 16 |
|
17 | | - <PropertyGroup Label="Compile settings"> |
18 | | - <Nullable>enable</Nullable> |
19 | | - <LangVersion>9.0</LangVersion> |
| 17 | + <PropertyGroup Label="Compile settings"> |
| 18 | + <Nullable>enable</Nullable> |
| 19 | + <LangVersion>9.0</LangVersion> |
20 | 20 | <NoWarn>CA1014</NoWarn> |
21 | 21 |
|
22 | | - <!-- Used by code coverage --> |
23 | | - <DebugType>full</DebugType> |
24 | | - <DebugSymbols>true</DebugSymbols> |
25 | | - </PropertyGroup> |
| 22 | + <!-- Used by code coverage --> |
| 23 | + <DebugType>full</DebugType> |
| 24 | + <DebugSymbols>true</DebugSymbols> |
| 25 | + </PropertyGroup> |
26 | 26 |
|
27 | 27 | <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'netcoreapp3.1'"> |
28 | 28 | <RazorLangVersion>3.0</RazorLangVersion> |
29 | 29 | </PropertyGroup> |
30 | 30 |
|
31 | 31 | <PropertyGroup Label="Analyzer settings"> |
32 | | - <AnalysisMode>AllEnabledByDefault</AnalysisMode> |
33 | | - <EnableNETAnalyzers>true</EnableNETAnalyzers> |
34 | | - <AnalysisLevel>latest</AnalysisLevel> |
35 | | - <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> |
36 | | - </PropertyGroup> |
| 32 | + <AnalysisMode>AllEnabledByDefault</AnalysisMode> |
| 33 | + <EnableNETAnalyzers>true</EnableNETAnalyzers> |
| 34 | + <AnalysisLevel>latest</AnalysisLevel> |
| 35 | + <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> |
| 36 | + </PropertyGroup> |
37 | 37 |
|
38 | | - <!-- Treat warnings as errors are always on when building in release --> |
39 | | - <PropertyGroup Condition="'$(Configuration)' == 'Release' AND $(MSBuildProjectName) != 'bunit.template' AND $(MSBuildProjectName) != 'bunit'"> |
40 | | - <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
41 | | - </PropertyGroup> |
| 38 | + <!-- Treat warnings as errors are always on when building in release --> |
| 39 | + <PropertyGroup Condition="'$(Configuration)' == 'Release' AND $(MSBuildProjectName) != 'bunit.template' AND $(MSBuildProjectName) != 'bunit'"> |
| 40 | + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
| 41 | + </PropertyGroup> |
42 | 42 |
|
43 | | - <!-- Shared code analyzers used for all projects in the solution --> |
44 | | - <ItemGroup Label="Code Analyzers"> |
45 | | - <PackageReference Include="AsyncFixer" Version="1.5.1" PrivateAssets="All" /> |
46 | | - <PackageReference Include="Asyncify" Version="0.9.7" PrivateAssets="All" /> |
47 | | - <PackageReference Include="Meziantou.Analyzer" Version="1.0.646" PrivateAssets="All" /> |
48 | | - <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" /> |
49 | | - <PackageReference Include="SonarAnalyzer.CSharp" Version="8.18.0.27296" PrivateAssets="All" /> |
50 | | - </ItemGroup> |
| 43 | + <!-- Shared code analyzers used for all projects in the solution --> |
| 44 | + <ItemGroup Label="Code Analyzers"> |
| 45 | + <PackageReference Include="AsyncFixer" Version="1.5.1" PrivateAssets="All" /> |
| 46 | + <PackageReference Include="Asyncify" Version="0.9.7" PrivateAssets="All" /> |
| 47 | + <PackageReference Include="Meziantou.Analyzer" Version="1.0.646" PrivateAssets="All" /> |
| 48 | + <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" /> |
| 49 | + <PackageReference Include="SonarAnalyzer.CSharp" Version="8.18.0.27296" PrivateAssets="All" /> |
| 50 | + </ItemGroup> |
51 | 51 |
|
52 | 52 | <ItemGroup Condition="('$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'netcoreapp3.1') AND $(MSBuildProjectName) != 'bunit.template' AND $(MSBuildProjectName) != 'bunit'"> |
53 | 53 | <PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="$(DotNet3Version)" /> |
|
0 commit comments