visual studio 2015 - R# & StyleCop issue: Method not found -
i have downloaded r# 9.1 in order integrate stylecop it. passed when installing both r# , extension stylecop. however, when go solution folder (in visual studio 2015) , right-click on 1 of projects , click on "run stylecop" displays error:
initially installed r# 9.2 , result same, decided go 9.1 version. reinstalled r# , stylecop both once , multiple times r#'s extension integrating stylecop.
my current set r# , stylecop is:
- resharper 10.0.1
- stylecop jetbrains 4.8
this gives me r# validation of rules.
however, doesn't give me right click run functionality.
so had click around , found stylecop doesn't have install vs 2015, installed visual stylecop , have recreated issue. if using visual stylecop may worth while adding issue on github.
personally, don't use right click functionality, instead warnings build via stylecop.msbuild nuget package each project want monitor:
once have no errors, use stylecop.error.msbuild keep way, again nuget:
the more modern way of doing make use of analyzers feature of visual studio 2015, stylecop.analyzers.
even stylecop jet brains 1 treats preferred implementation.. r# gallery
automatically disable analysis if stylecop.analyzers referenced in vs2015 (#20)
moving stylecop.analyzers, add them rules in relevant *.ruleset file (same place codeanalysis rules)
and can run them via
which has same effect right click run stylecop trying working.
i.e. giving:
any clarifications or further detail, please let me know.
Comments
Post a Comment