Skip to content

Conversation

@bording
Copy link
Member

@bording bording commented Aug 8, 2023

Starting with the 7.0.400 .NET SDK, there is a new warning:

Set MSBuild property 'GenerateDocumentationFile' to 'true' in project file to enable IDE0005 (Remove unnecessary usings/imports) on build

For reasons detailed in the still open issue, getting IDE005 properly reported requires GenerateDocumentationFile.

Turning that on globally is a rather large pain at this point, and would have some weird interactions with some Particular.Packaging features.

Also, that linked issue is still open, so it's unclear if the requirement might actually change in the future.

I've instead opted to suppress the warning, and we can consider more changes later.

@bording bording requested a review from DavidBoike August 8, 2023 20:30
@bording bording changed the title Add workaround for issue Add workaround for new warning Aug 8, 2023
@bording bording force-pushed the generate-documentation-file-fix branch from b96aef7 to 77ddff0 Compare August 9, 2023 14:54
@bording bording merged commit 63d0341 into master Aug 9, 2023
@bording bording deleted the generate-documentation-file-fix branch August 9, 2023 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants