StyleCop does not work

StyleCope was working.  I changed the rule about naming private variables.  Now it now longer shows any errors in my project, although it works in other projects.  I reinstalled resharper.  Also I cannot shown anywhere in my ReSharper/Options.  Using VS2017 Communitiy

3 comments

Hello Philip!

 

Thank you for contacting us.

First please try suggestion from the following help article - https://resharper-support.jetbrains.com/hc/en-us/articles/206546989-ReSharper-stopped-working-for-a-single-specific-solution

If it doesn't help please provide screenshot/screencast (e.g. using https://www.techsmith.com/jing-tool.html) illustrating the problem.

Thank you.

0

Update:  

More information:  Resharper StyleCop works differently in Visual Studio Professional 2015 and Visual Studio Community 2017.

 

The first wants a this on private variables while 2017 objects to the same rule.

 

If that is not bad enough the one in 2017 seems unstable and decides everything is fine when it is not.  The one in 2015 works without any problem.

I could not find a solution using the link.

0

Hello Philip!

 

Thank you for the reply.

Could you please provide some screenshot illustrating the problem. It would be very helpful.

Thank you.

0

Please sign in to leave a comment.