Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Switch to FxCop analyzers #871

Merged
merged 1 commit into from
Apr 23, 2020
Merged

Switch to FxCop analyzers #871

merged 1 commit into from
Apr 23, 2020

Conversation

AArnott
Copy link
Member

@AArnott AArnott commented Apr 21, 2020

This removes the the deprecated fxcop task in favor of running the newer fxcop Roslyn analyzers.
In fact the new fxcop roslyn analyzers are already running in this repo, as brought in by Directory.Build.targets. It's not the latest version, but updating it can happen sometime after we update the SDK we're using since right now, analyzer warnings aren't even showing up in VS.

I do fix a few issues that came up when updating the fxcop analyzer version temporarily though.

I also remove the special steps that "Run Roslyn Analyzers". I don't know what that task is meant to do, but roslyn analyzers run as part of the build, and this task not only repeats that to some extent, it also repeats the package restore and build to some extent. It also fails for virtually every PR (all unrelated), so removing it allows us to move forward.

@AArnott AArnott merged commit 447d0d2 into microsoft:dev Apr 23, 2020
@AArnott AArnott deleted the fxcopanalyzers branch April 23, 2020 00:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants