-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDirectory.Build.props
57 lines (49 loc) · 2.22 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<Version>7.0.0-preview-0014</Version>
<Nullable>enable</Nullable>
<WarningsAsErrors>nullable</WarningsAsErrors>
<LangVersion>preview</LangVersion>
<Configurations>Debug;Release;AzureDevOps</Configurations>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Disabling these in favour of manually adding the using statements further down. This is to ensure compatibility with legacy .NET packages. -->
<ImplicitUsings>false</ImplicitUsings>
<!-- NuGet settings -->
<Authors>Zinofi Digital Ltd</Authors>
<Company>Zinofi Digital Ltd</Company>
<Copyright>Zinofi Digital Ltd $([System.DateTime]::Now.Year)</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/zinofi/Umbrella</PackageProjectUrl>
<RepositoryUrl>https://github.com/zinofi/Umbrella</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageIcon>icon.png</PackageIcon>
<!-- SourceLink settings -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<PropertyGroup>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<AnalysisLevel>latest</AnalysisLevel>
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
<RunAnalyzersDuringLiveAnalysis>true</RunAnalyzersDuringLiveAnalysis>
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='AzureDevOps'">
<Optimize>true</Optimize>
<DefineConstants>AzureDevOps</DefineConstants>
<DebugType>embedded</DebugType>
</PropertyGroup>
<ItemGroup>
<Using Include="System" />
<Using Include="System.Collections.Generic" />
<Using Include="System.IO" />
<Using Include="System.Linq" />
<Using Include="System.Net" />
<Using Include="System.Threading" />
<Using Include="System.Threading.Tasks" />
</ItemGroup>
</Project>