Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE0005 error when building with latest SDK #47932

Closed
mthalman opened this issue Apr 27, 2023 · 1 comment
Closed

IDE0005 error when building with latest SDK #47932

mthalman opened this issue Apr 27, 2023 · 1 comment
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Comments

@mthalman
Copy link
Member

When using the latest build of .NET 8 Preview 4 SDK to build the aspnetcore repo, it results in a bunch of errors like this for the projects in the repo:

CSC : error EnableGenerateDocumentationFile: Set MSBuild property 'GenerateDocumentationFile' to 'true' in project file to enable IDE0005 (Remove unnecessary usings/imports) on build (https://github.com/dotnet/roslyn/issues/41640) [/vmr/src/aspnetcore/artifacts/source-build/self/src/src/Components/Analyzers/src/Microsoft.AspNetCore.Components.Analyzers.csproj]

This was caught by the Source-build bootstrapping build workflow which uses a source-built version of the latest SDK to build the product's repos.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework label Apr 27, 2023
@eerhardt
Copy link
Member

eerhardt commented May 1, 2023

This was fixed in #47540 with 20f1745. #47912 is tracking a "real" fix here rather than just disabling this check.

Closing as this is fixed in the latest "main".

@eerhardt eerhardt closed this as completed May 1, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-infrastructure Includes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Projects
None yet
Development

No branches or pull requests

2 participants