-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathCommon.props
More file actions
45 lines (34 loc) · 1.64 KB
/
Common.props
File metadata and controls
45 lines (34 loc) · 1.64 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
38
39
40
41
42
43
44
45
<Project>
<PropertyGroup>
<OutputPath Condition="'$(KeepOutputPath)' == ''">../../build/</OutputPath>
</PropertyGroup>
<PropertyGroup>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
<NoWarn>$(NoWarn);1701;1702</NoWarn>
<!-- Suppress warning about "Return" being reservered. That is our namespace and assembly name.-->
<NoWarn>$(NoWarn);CA1716</NoWarn>
<!-- Suppress warning about localizable inspections.-->
<NoWarn>$(NoWarn);CA1303</NoWarn>
<!-- CA2007 [Consider calling ConfigureAwait on awaited task] is causing Blazor to go haywire -->
<!-- Apparently a re-entrance issue kept occurring with Entity Framework -->
<NoWarn>$(NoWarn);CA2007</NoWarn>
</PropertyGroup>
<PropertyGroup>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" />
<!-- Fixes CS8034: Unable to load Analyzer assembly [...] Microsoft.AspNetCore.Components.Analyzers.dll : Assembly with same name is already loaded -->
<PackageReference Include="Microsoft.AspNetCore.Components.Analyzers" Version="3.1.3" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.3" />
</ItemGroup>
<!-- Git versioning -->
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>