Skip to content
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.

Update analyzer project template to separate analyzers from code fixes #8

Open
sharwell opened this issue Nov 11, 2015 · 0 comments
Open

Comments

@sharwell
Copy link
Member

Currently the project template places analyzers and code fixes in the same assembly. This results in a dependency on Microsoft.CodeAnalysis.Workspaces which is easy to accidentally use in an analyzer, resulting in type load exceptions when building from the command line. For example, DotNetAnalyzers/StyleCopAnalyzers#1352 was the underlying cause of DotNetAnalyzers/StyleCopAnalyzers#1659, which was extremely difficult to track down but would have been easily avoided if the assemblies were separated from the start.

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

No branches or pull requests

1 participant