Skip to content
This repository has been archived by the owner. It is now read-only.

'Error List' window gets polluted with warnings from analyzer exceptions #170

Closed
jlouros opened this issue Feb 4, 2016 · 3 comments
Closed
Assignees
Labels
Milestone

Comments

@jlouros
Copy link

jlouros commented Feb 4, 2016

Hi there,

just started playing with Refactoring Essentials when I noticed a bunch of warnings that are not related with the project I'm working on. Most of the errors look like this:

Analyzer 'RefactoringEssentials.CSharp.Diagnostics.CompareNonConstrainedGenericWithNullAnalyzer' threw an exception of type 'System.TypeInitializationException' with message 'The type initializer for 'RefactoringEssentials.SyntaxExtensions' threw an exception.'.

refactoring essentials bug

Here's some additional details:

  • using Visual Studio 2015 with Update 1.
  • C# class library targeting .Net 4.5.2.
  • added Refactoring essentials as a NuGet package
  • changed the default rule sets (created a new *.ruleset file)

Let me know if I can help with anything.
Thanks

@jlouros jlouros changed the title 'Error List' window get polluted with warnings from analyzer exceptions 'Error List' window gets polluted with warnings from analyzer exceptions Feb 4, 2016
@christophwille
Copy link
Member

Are you using today's 3.2 release? Because that should specifically address this issue.

@jlouros
Copy link
Author

jlouros commented Feb 4, 2016

I was using version 3.1. After updating to 3.2 the vast majority the warnings disappeared, but there are still 3 warnings hanging around.

refactoring essentials bug 2

@Rpinski Rpinski self-assigned this Feb 4, 2016
@Rpinski Rpinski added the bug label Feb 5, 2016
@Rpinski Rpinski modified the milestone: 3.x Feb 5, 2016
@Rpinski
Copy link
Member

Rpinski commented Feb 9, 2016

After some more code restructuring the warnings should have gone now.

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

No branches or pull requests

3 participants