Skip to content

Commit

Permalink
Follow the osu-framework change the fix the "CSC : error EnableGenera…
Browse files Browse the repository at this point in the history
…teDocumentationFile: Set MSBuild property 'GenerateDocumentationFile' to 'true' in project file to enable IDE0005 (Remove unnecessary usings/imports) on build (dotnet/roslyn#41640) [/home/runner/work/osu-framework-microphone/osu-framework-microphone/osu.Framework.Microphone/osu.Framework.Microphone.csproj]" error

Also see:
https://github.com/ppy/osu-framework/pull/6169/files
  • Loading branch information
andy840119 committed Feb 19, 2024
1 parent 6fc3ca1 commit 02b6484
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<!-- Contains required properties for osu!framework projects. -->
<Project>
<PropertyGroup Label="C#">
<LangVersion>10.0</LangVersion>
<LangVersion>12.0</LangVersion>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup Label="Documentation">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
</PropertyGroup>
<ItemGroup Label="License">
<None Include="$(MSBuildThisFileDirectory)osu-framework-microphone.licenseheader">
<Link>osu-framework-microphone.licenseheader</Link>
Expand Down Expand Up @@ -37,8 +41,4 @@
<PackageProjectUrl>https://github.com/karaoke-dev/osu-framework-microphone</PackageProjectUrl>
<RepositoryUrl>https://github.com/karaoke-dev/osu-framework-microphone</RepositoryUrl>
</PropertyGroup>
<PropertyGroup Label="Sourcelink3">
<EnableSourceLink Condition=" '$(OS)' != 'Windows_NT' AND '$(MSBuildRuntimeType)' != 'Core' ">false</EnableSourceLink>
<EnableSourceControlManagerQueries>$(EnableSourceLink)</EnableSourceControlManagerQueries>
</PropertyGroup>
</Project>

0 comments on commit 02b6484

Please sign in to comment.