Comments (11)
I came from #123 and have the same problem as @GeneralSan. The only solution so far is to delete all "yworks*.dll" files from "%localappdata%\JetBrains\Installations\ReSharperPlatformVs15_8617f09a". Of course this isn't a proper solution as yWorks is a diagram component which is part of ReSharper.
This error happens only when StyleCop.ReSharper is installed, but the issue tracker is disabled for that repo.
from stylecop.
Is this running the StyleCop command that's implemented by the Visual Studio plugin?
I wonder if this is an issue to do with the strong naming of the StyleCop.dll assemblies - it means both the ReSharper plugin and the VS plugin can ship different versions without problems, but if they ship the same version, either assembly can be used. But, if the VS code uses the ReSharper assembly, I bet it's trying to load the rules by looking at the folder containing the StyleCop.dll file, which is the ReSharper bin folder, and it's therefore having problems with the obfuscated yWorks assembly. Hmm.
Can you let me know the version numbers of ReSharper, the ReSharper StyleCop plugin and the VS StyleCop plugin, please?
from stylecop.
It is the Visual StyleCop extension command.
I use the official version of Resharper Ultimate. (no betas or anything)
Without looking up specific versions, I have installed the latest resharper
this morning (update from today/yesterday, so the absolutely latest
version).
There are no updates for the resharper stylecop extension, so this should
also be the latest version.
There are no updates for Visual StyleCop, so also the latest version.
To check the actual version numbers:
VS 2015 Update 2
Visual StyleCop 4.7.59.0
Resharper Utimate 2016.1.1
StyleCop by JetBrains 2016.1.0
Met vriendelijke groeten,
Dirk Maegh
On Fri, May 6, 2016 at 11:45 AM, Matt Ellis [email protected]
wrote:
Is this running the StyleCop command that's implemented by the Visual
Studio plugin?I wonder if this is an issue to do with the strong naming of the
StyleCop.dll assemblies - it means both the ReSharper plugin and the VS
plugin can ship different versions without problems, but if they ship the
same version, either assembly can be used. But, if the VS code uses the
ReSharper assembly, I bet it's trying to load the rules by looking at the
folder containing the StyleCop.dll file, which is the ReSharper bin folder,
and it's therefore having problems with the obfuscated yWorks assembly. Hmm.Can you let me know the version numbers of ReSharper, the ReSharper
StyleCop plugin and the VS StyleCop plugin, please?—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#50 (comment)
from stylecop.
Thanks. I do think it's the situation I described. That's going to need a little thought on how to fix, unfortunately.
from stylecop.
Everyone in my team has the exact same problem. It would be really awesome if this could be solved or if Resharper By Jetbrains could add a context-menu item to scan all files that mimic the original plugin.
from stylecop.
Any updates on this issue? I'm still seeing it with
StyleCop.MSBuild Nuget: 4.7.54.0
ReSharper: 2016.2.2
StyleCop by JetBrains: 2016.2.1
I almost got around it by adding StyleCop.dll from nuget package to GAC but this actually caused StyleCop in general not to actually scan on build even with addin uninstalled.
from stylecop.
Hi,
I am also facing the same issue.
Regards,
Ajay.K
from stylecop.
Any news on this issue?
from stylecop.
This should be adressed by #167. Let's wait for @csdahlberg review.
from stylecop.
In the meantime I found out that the error happens in StyleCopCore.LoadAddins() while processing "yWorks.yFilesWPF.Viewer.dll". That function is called by StyleCopCore.Initialize(), having the parameter "loadFromDefaultPath" set to "true". I don't know if the pull request of @matkoch fixes this error, because I have problems compiling the StyleCop.VisualStudio project, but I guess it does.
from stylecop.
@ThielHater Thanks ! renaming "yWorks.yFilesWPF.Viewer.dll" seems to be a work around.
from stylecop.
Related Issues (20)
- StyleCop.MSBuild build failed
- StyleCop as a dotnet tool utility? HOT 3
- Globablly Suppressing Stylecop Rules Not Working HOT 1
- Error while trying to enable StyleCop CheckIn Policy for TFVC in VS2019
- SA1011 and nullable reference type BUG
- Option to require trailing comma unless there are multiple elements that are all on one line
- SA1200 should read .net directives from .editorconfig HOT 1
- SA1513 sometimes fires on the closing brace of switch expressions
- C# 8.0 getting SA0102 on using statement
- SA1130UseLambdaSyntax throws NullReferenceException HOT 1
- StyleCop crashing Visual Studio with NotSupportedException HOT 8
- SA1000 conflicts with IDE0055 for simplified constructor calls HOT 2
- StyleCop can not use in vs2019 16.11.2
- CsDocument.Tokens cannot detect comments contained in the ?: Operator.
- StyleCop does not support feature of C# 9.0 (is not null) HOT 1
- Cannot use StyleCop in vs2022 HOT 3
- Style Cop Extension Crashing on Visual Studio 2019 HOT 1
- SA0102: A syntax error discovered.... but the code is valid
- Require parenthesis for null coalesce expression
- "Parameter should begin with lower-case letter" (SA1313) fires on positional record structs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stylecop.