-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
'Method not found' exception when using context menu #16
Comments
@jasonaughton do you get this message each time you use the right-click context menu ? |
It seems that your version try to load an old version of StyleCop.dll. Try to uninstall again and search for "StyleCop.dll" in folder / C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions and check the version. Remove previous versions manually if necessary. Then run VS2015 as admin and try to reinstall. Let me know if you need more help. |
The StyleCop.dll in that location is version 4.7.55 However, I also have a StyleCop.dll in C:\Program Files (x86)\StyleCop 4.7 and that is version 4.7.49 |
4.7.49 is the original version from codeplex and doesn't support VS2015. I think this dll shouldn't be in folder C:\Program Files (x86)\Microsoft Visual Studio 14.0 Uninstall version 4.7.49 and delete all references in C:\Program Files (x86)\Microsoft Visual Studio 14.0 and reinstall version 4.7.55.26, it should work. There is no direct download for previous versions but I am working on that for next releases. |
I tried that and it worked. However, I had to update the Resharper.Stylecop extension to use the 4.7.55 version, and once that was done the Resharper integration no longer worked. I'm going to leave this for now and continue to rely on Resharper with 4.7.49. |
No fix available for now, current version of Visual StyleCop is incompatible with R# plugin. |
Hi, I just thought I would add a comment to say we have been using R# and Stylecop since they first worked together. Do you know what would be required to make this new version compatible with the latest version of R# 10 as it's a bit of a show stopper for us using it. We'd potentially be happy to help if we can with either testing or even coding if we can find the time :) |
Hi @readingdancer, I think to work with R#10 and Visual-StyleCop you should create a fork and a new project based on StyleCop CodexPlex sources. |
When running StyleCop from the right-click context menu on a Solution Explorer item or on the file itself, I get a model dialog with the following message:
Method not found: 'Void StyleCop.CodeProject.ctor(Int32, System.String, StyleCop.Configuration, Double).
Version is 4.7.55.26 in VS2015 Enterprise
The text was updated successfully, but these errors were encountered: