-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
59 lines (55 loc) · 2.71 KB
/
Directory.Build.props
File metadata and controls
59 lines (55 loc) · 2.71 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!-- Shared project settings -->
<Project>
<!-- project global settings -->
<PropertyGroup>
<TargetFramework Condition="'$(TargetFramework)' == ''">net8.0</TargetFramework>
<!-- Enable the new nullability syntax and analyzing -->
<Nullable>enable</Nullable>
<!-- Allow using `init` and records in .NET Core versions prior to .NET 5 -->
<LangVersion Condition="'$(LangVersion)' == ''">13.0</LangVersion>
<!--<Optimize>false</Optimize>-->
<!-- CA2007, RCS1090: Don't want ConfigureAwait(false), we *do* want to use the sync context! -->
<!-- 1591: Ignore missing inline documentation. -->
<!-- CA1062: Prefer T? for possible nulls. -->
<!-- CA1014: TODO: Add this attribute so other .NET languages can use these libs. -->
<!-- CA1032: TODO: Maybe reinstate this later. Implementing custom exceptions can be overly tedious. -->
<!-- CA1044: Write only indexers are used where reading back the value *shouldn't* happen, and is a huge code smell. -->
<!-- CA1003: Events use struct types not value types to avoid garbage from being generated. -->
<!-- CA1724: Too many false negatives. -->
<!-- CA2225: Don't want operators to have methods.. -->
<!-- CA1303: Don't localize internal strings. -->
<NoWarn>$(NoWarn);RCS1090;1591;CA2007;CA1062;CA1014;CA1032;CA1003;CA1724;CA2225;CA1303;</NoWarn>
<!-- Generate XMLdocs -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Disable system locales -->
<InvariantGlobalization Condition="'$(InvariantGlobalization)' == ''">true</InvariantGlobalization>
<!-- Ensure code style is followed, with heightened warnings -->
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>9.0</AnalysisLevel>
<!-- Meta info -->
<Authors>Ashleigh Adams</Authors>
<RootNamespace>UniversalMenuAPI</RootNamespace>
<IsPackable Condition="'$(IsPackable)' == ''">false</IsPackable>
<!--<PackageIcon>images/packageicon.png</PackageIcon>-->
</PropertyGroup>
<!--
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)/.meta/packageicon.png" Pack="true" PackagePath="/images/" Visible="false" />
</ItemGroup>
-->
<!-- Automatic versioning -->
<PropertyGroup Condition="'$(CI)' == ''">
<VerliteBuildMetadata>local</VerliteBuildMetadata>
</PropertyGroup>
<PropertyGroup>
<VerliteEnableShadowRepo>true</VerliteEnableShadowRepo>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Verlite.MsBuild" Version="2.6.0" PrivateAssets="All" />
</ItemGroup>
<!-- Reproducible builds -->
<ItemGroup>
<PackageReference Include="DotNet.ReproducibleBuilds" Version="2.0.2" PrivateAssets="All" />
</ItemGroup>
</Project>