osu/Directory.Build.props

46 lines
2.0 KiB
Plaintext
Raw Normal View History

<!-- Contains required properties for osu!framework projects. -->
2017-12-01 09:51:20 +00:00
<Project>
2017-12-01 04:53:32 +00:00
<PropertyGroup Label="C#">
2019-11-11 13:20:18 +00:00
<LangVersion>8.0</LangVersion>
2019-11-27 11:37:11 +00:00
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2017-12-01 04:53:32 +00:00
</PropertyGroup>
2018-04-11 13:31:50 +00:00
<PropertyGroup>
2019-10-30 13:54:14 +00:00
<ApplicationManifest>$(MSBuildThisFileDirectory)app.manifest</ApplicationManifest>
2018-04-11 13:31:50 +00:00
</PropertyGroup>
<ItemGroup Label="License">
2019-10-30 13:54:14 +00:00
<None Include="$(MSBuildThisFileDirectory)osu.licenseheader">
<Link>osu.licenseheader</Link>
</None>
</ItemGroup>
<ItemGroup Label="Resources">
<EmbeddedResource Include="Resources\**\*.*" />
</ItemGroup>
2019-11-13 14:29:44 +00:00
<ItemGroup Label="Code Analysis">
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.1" PrivateAssets="All" />
2019-11-13 14:29:44 +00:00
<AdditionalFiles Include="$(MSBuildThisFileDirectory)CodeAnalysis\BannedSymbols.txt" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.1" PrivateAssets="All" />
2019-11-13 14:29:44 +00:00
</ItemGroup>
<PropertyGroup Label="Code Analysis">
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)CodeAnalysis\osu.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Label="Documentation">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
2018-03-28 06:19:56 +00:00
<PropertyGroup Label="Project">
<!-- DeepEqual is not netstandard-compatible. This is fine since we run tests with .NET Framework anyway.
This is required due to https://github.com/NuGet/Home/issues/5740 -->
<NoWarn>$(NoWarn);NU1701</NoWarn>
2018-03-28 06:19:56 +00:00
</PropertyGroup>
<PropertyGroup Label="Nuget">
<IsPackable>false</IsPackable>
<Authors>ppy Pty Ltd</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/ppy/osu</PackageProjectUrl>
<RepositoryUrl>https://github.com/ppy/osu</RepositoryUrl>
<PackageReleaseNotes>Automated release.</PackageReleaseNotes>
<Company>ppy Pty Ltd</Company>
2020-01-19 20:51:10 +00:00
<Copyright>Copyright (c) 2020 ppy Pty Ltd</Copyright>
<PackageTags>osu game</PackageTags>
</PropertyGroup>
</Project>