1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-24 13:22:55 +08:00
osu-lazer/Directory.Build.props

55 lines
2.3 KiB
Plaintext
Raw Normal View History

<!-- Contains required properties for osu!framework projects. -->
2017-12-01 17:51:20 +08:00
<Project>
2017-12-01 12:53:32 +08:00
<PropertyGroup Label="C#">
2019-11-11 21:20:18 +08:00
<LangVersion>8.0</LangVersion>
2019-11-27 19:37:11 +08:00
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2017-12-01 12:53:32 +08:00
</PropertyGroup>
2018-04-11 21:31:50 +08:00
<PropertyGroup>
2019-10-30 21:54:14 +08:00
<ApplicationManifest>$(MSBuildThisFileDirectory)app.manifest</ApplicationManifest>
2018-04-11 21:31:50 +08:00
</PropertyGroup>
<ItemGroup Label="License">
2019-10-30 21:54:14 +08:00
<None Include="$(MSBuildThisFileDirectory)osu.licenseheader">
<Link>osu.licenseheader</Link>
</None>
</ItemGroup>
<ItemGroup Label="Resources">
<EmbeddedResource Include="Resources\**\*.*" />
</ItemGroup>
2019-11-13 22:29:44 +08:00
<ItemGroup Label="Code Analysis">
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.2" PrivateAssets="All" />
2019-11-13 22:29:44 +08:00
<AdditionalFiles Include="$(MSBuildThisFileDirectory)CodeAnalysis\BannedSymbols.txt" />
2021-02-25 14:31:50 +08:00
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="5.0.3" PrivateAssets="All" />
2019-11-13 22:29:44 +08: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 14:19:56 +08: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 14:19:56 +08: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-07 00:40:29 +08:00
<Copyright>Copyright (c) 2021 ppy Pty Ltd</Copyright>
<PackageTags>osu game</PackageTags>
</PropertyGroup>
</Project>