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

Enhance the text for NetAnalyzers upgrade warning #6523

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

mavasani
Copy link
Contributor

@mavasani mavasani commented Mar 9, 2023

Currently, we report an MSBuild warning when SDK NetAnalyzers version is higher than the referenced NuGet NetAnalyzers version. However, this seems to cause lot of annoyance if we haven't released the newer NuGet at the time newer SDK is released. This PR enhances this text by stating that this warning can be temporarily suppressed by setting '_SkipUpgradeNetAnalyzersNuGetWarning' property to 'true'.

Currently, we report an MSBuild warning when SDK NetAnalyzers version is higher than the referenced NuGet NetAnalyzers version. However, this seems to cause lot of annoyance if we haven't released the newer NuGet at the time newer SDK is released. This PR enhances this text by stating that this warning can be temporarily suppressed by setting '_SkipUpgradeNetAnalyzersNuGetWarning' property to 'true'.
@mavasani mavasani requested a review from a team as a code owner March 9, 2023 11:37
@mavasani mavasani requested a review from Youssef1313 March 9, 2023 11:37
@codecov
Copy link

codecov bot commented Mar 9, 2023

Codecov Report

Merging #6523 (f6c1a01) into main (e516933) will increase coverage by 0.27%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6523      +/-   ##
==========================================
+ Coverage   96.15%   96.42%   +0.27%     
==========================================
  Files        1374     1372       -2     
  Lines      318826   319875    +1049     
  Branches    10332    10275      -57     
==========================================
+ Hits       306553   308440    +1887     
+ Misses       9818     8979     -839     
- Partials     2455     2456       +1     

@mavasani mavasani merged commit fbd8db3 into dotnet:main Mar 27, 2023
@mavasani mavasani deleted the UpdateWarningText branch March 27, 2023 11:57
@github-actions github-actions bot added this to the vNext milestone Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant