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

Release Microsoft.CodeAnalysis.NetAnalyzers 7.0.1 #6502

Closed
rauhs opened this issue Feb 23, 2023 · 5 comments
Closed

Release Microsoft.CodeAnalysis.NetAnalyzers 7.0.1 #6502

rauhs opened this issue Feb 23, 2023 · 5 comments

Comments

@rauhs
Copy link

rauhs commented Feb 23, 2023

With the VS 17.5.0 release we again get a warning like:

packages\microsoft.codeanalysis.netanalyzers\7.0.0\build\Microsoft.CodeAnalysis.NetAnalyzers.targets(593,5): warning : The .NET SDK has newer analyzers with version '7.0.1' than what version '7.0.0' of 'Microsoft.CodeAnalysis.NetAnalyzers' package provide

can you release the 7.0.1 package?

We had the same annoying issue when we upgraded to 17.4. :/

@Cestbienmoi
Copy link

Any workaround (except remove the analyzer !) ? It is a lot of warnings for big solution !

@buckleyGI
Copy link

We have the same problem and don't tolerate too many warnings for too long.
Please coordinate these releases. We treat warnings as errors which we find best practice.

@mavasani
Copy link
Contributor

mavasani commented Mar 2, 2023

You can disable this warning by defining this MSBuild property:

<Target Name=""_ReportUpgradeNetAnalyzersNuGetWarning"" BeforeTargets=""CoreCompile"" Condition=""'$(_SkipUpgradeNetAnalyzersNuGetWarning)' != 'true' "">

we’ll work on releasing the new NuGet package and also probably remove this warning

@buckleyGI
Copy link

Thanks for the swift response and the MSBuild property which at first sight is what we need @mavasani
This message in our opinions shouldn't be a warning but more a notification.

@mavasani
Copy link
Contributor

mavasani commented Mar 9, 2023

https://www.nuget.org/packages/Microsoft.CodeAnalysis.NetAnalyzers/7.0.1 is published now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants