|
1 | 1 | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
2 | 2 |
|
3 | 3 | <PropertyGroup> |
| 4 | + <LangVersion>8</LangVersion> |
4 | 5 | <Authors>Amadeusz Sadowski</Authors> |
5 | 6 | <Company>WarHub</Company> |
6 | 7 | <Copyright>Copyright © Amadeusz Sadowski</Copyright> |
7 | 8 | <PackageLicenseExpression>MIT</PackageLicenseExpression> |
8 | 9 | <PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance> |
9 | 10 | <PackageProjectUrl>https://github.com/WarHub/wham</PackageProjectUrl> |
10 | | - <ReleaseNotes>https://github.com/WarHub/wham/blob/master/CHANGELOG.md</ReleaseNotes> |
| 11 | + <PackageReleaseNotes>https://github.com/WarHub/wham/blob/master/CHANGELOG.md</PackageReleaseNotes> |
| 12 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 13 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 14 | + <IncludeSymbols>true</IncludeSymbols> |
| 15 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 16 | + <GenerateDocumentationFile>true</GenerateDocumentationFile> |
11 | 17 | </PropertyGroup> |
12 | 18 |
|
13 | 19 | <PropertyGroup> |
14 | | - <LangVersion>8</LangVersion> |
15 | | - <GenerateDocumentationFile>true</GenerateDocumentationFile> |
16 | 20 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
17 | | - <WarningsAsErrors Condition=" '$(Configuration)' == Release ">true</WarningsAsErrors> |
18 | | - <GeneratePackageOnBuild Condition=" '$(Configuration)' == 'Release' ">true</GeneratePackageOnBuild> |
| 21 | + <IsTestingOnlyProject>$(MSBuildProjectName.Contains('Test'))</IsTestingOnlyProject> |
19 | 22 | <BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)obj/$(MSBuildProjectName)/</BaseIntermediateOutputPath> |
20 | 23 | <OutputPath>$(MSBuildThisFileDirectory)bin/$(MSBuildProjectName)/$(Configuration)/</OutputPath> |
21 | 24 | <PackageOutputPath>$(MSBuildThisFileDirectory)bin/Packages/$(Configuration)/</PackageOutputPath> |
22 | | - <IsTestingOnlyProject>$(MSBuildProjectName.Contains('Test'))</IsTestingOnlyProject> |
23 | 25 | <NoWarn>$(NoWarn);CS1591;NU5105</NoWarn> |
24 | 26 | </PropertyGroup> |
25 | 27 |
|
26 | | - <PropertyGroup Condition=" !$(IsTestingOnlyProject) "> |
27 | | - <PublishRepositoryUrl>true</PublishRepositoryUrl> |
28 | | - <EmbedUntrackedSources>true</EmbedUntrackedSources> |
29 | | - <IncludeSymbols>true</IncludeSymbols> |
30 | | - <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 28 | + <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> |
| 29 | + <TreatWarningsAsErrors>true</TreatWarningsAsErrors> |
| 30 | + <MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors> |
| 31 | + <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
31 | 32 | </PropertyGroup> |
32 | 33 |
|
33 | 34 | <PropertyGroup Condition=" $(IsTestingOnlyProject) "> |
|
36 | 37 | </PropertyGroup> |
37 | 38 |
|
38 | 39 | <ItemGroup> |
39 | | - <DotNetCliToolReference Include="dotnet-codegen" Version="0.6.1" /> |
40 | 40 | <DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" /> |
41 | 41 | </ItemGroup> |
42 | 42 |
|
|
0 commit comments