Uh oh!
There was an error while loading. Please reload this page.
Re-enable CoreLib analyzers - #424
Conversation
CoreLib analyzers were unintentionally disabled with 6afe96c. This re-enables the analyzers and conditions one which brings in external dependencies that CoreLib can't deal with.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ViktorHofer
commented
Dec 2, 2019
I'll remove that package as its description clearly state that it shouldn't be referenced directly. @safern do you have context why that package was referenced directly in corefx/arcade? |
Microsoft.CodeAnalysis.Common shouldn't be referenced directly, therefore removing that package from the common location and only restoring and marking it as an analyzer in the libraries restore phase.
ViktorHofer
commented
Dec 2, 2019
OK, so the transitive dependency to Microsoft.CodeAnalysis.Common is required becaues of the special way we add analyzers to projects in libraries. We will clean this up with @Anipik's work to enable project restore for non test projects in libraries. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ViktorHofer
commented
Dec 2, 2019
This should be ready, can someone pls approve? Thanks |
ViktorHofer
commented
Dec 2, 2019
Thanks, merging as the previous run was green (except an unrelated test failure) and I just changed a comment which re-triggered CI. |
* Re-enable CoreLib analyzers CoreLib analyzers were unintentionally disabled with 6afe96c. This re-enables the analyzers. * Remove Microsoft.CodeAnalysis.Common from common Microsoft.CodeAnalysis.Common shouldn't be referenced directly, therefore removing that package from the common location and only restoring and marking it as an analyzer in the libraries restore phase.
CoreLib analyzers were unintentionally disabled with
6afe96c. This re-enables the analyzers
and conditions one which brings in external dependencies that CoreLib
can't deal with.
Fixes#422