-
Notifications
You must be signed in to change notification settings - Fork 1
/
Directory.Build.props
42 lines (38 loc) · 1.86 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
<Project>
<PropertyGroup Label="Compilation Metadata">
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<!-- TODO: Clean up warnings -->
<PropertyGroup Label="Msbuild Handling">
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningsAsErrors>CS0105;CS0108;CS0109;CS0114;CS0162;CS0168;CS0169;CS0219;CS0252;CS0414;CS0472;CS0649;CS0652;CS1717;CS1998;CS4014;xUnit1013;MSB3245;MSB3270,NU1602</WarningsAsErrors>
<!--
NU5105 : Semver 2 package version
-->
<NoWarn>$(NoWarn);NU5105</NoWarn>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Label="Assembly Metadata">
<AssemblyVersion>$([System.Text.RegularExpressions.Regex]::Match($(Version), '\d+\.\d+').Value)</AssemblyVersion>
<FileVersion>$([System.Text.RegularExpressions.Regex]::Match($(Version), '\d+\.\d+.\d+').Value)</FileVersion>
<Company>CluedIn ApS</Company>
<Copyright>Copyright (c) 2020 $(Company). All rights reserved.</Copyright>
<Product>CluedIn</Product>
<AssemblyTitle>$(MSBuildProjectName)</AssemblyTitle>
<AssemblyName>$(Product).$(AssemblyTitle)</AssemblyName>
<RootNamespace>$(AssemblyName)</RootNamespace>
</PropertyGroup>
<PropertyGroup Label="Package Metadata">
<Title>$(RootNamespace)</Title>
<Authors>$(Company)</Authors>
<!-- TODO: Licensing -->
<!-- <PackageLicenseFile> if not using an open source license should be set to the path of a license _in_ the package -->
<!-- <PackageRequireLicenseAcceptance> should be set to true if a license is included -->
<PackageProjectUrl>http://cluedin.com</PackageProjectUrl>
<PackageIcon>nugetlogo.png</PackageIcon>
</PropertyGroup>
<ItemGroup Label="Package Includes">
<None Include="$(MSBuildThisFileDirectory)build\assets\nugetlogo.png" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>