osu/Directory.Build.props

55 lines
2.3 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.3" PrivateAssets="All" />
2019-11-13 14:29:44 +00:00
<AdditionalFiles Include="$(MSBuildThisFileDirectory)CodeAnalysis\BannedSymbols.txt" />
2021-02-25 06:31:50 +00:00
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="5.0.3" 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">
<!--
NU1701:
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
CA9998:
Microsoft.CodeAnalysis.FxCopAnalyzers has been deprecated.
The entire package will be able to be removed after migrating to .NET 5,
as analysers are shipped as part of the .NET 5 SDK anyway.
-->
<NoWarn>$(NoWarn);NU1701;CA9998</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>
2021-01-06 16:40:29 +00:00
<Copyright>Copyright (c) 2021 ppy Pty Ltd</Copyright>
<PackageTags>osu game</PackageTags>
</PropertyGroup>
</Project>