Giter Site home page Giter Site logo

Comments (11)

ThielHater avatar ThielHater commented on July 21, 2024 2

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.

citizenmatt avatar citizenmatt commented on July 21, 2024

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.

GeneralSan avatar GeneralSan commented on July 21, 2024

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.

citizenmatt avatar citizenmatt commented on July 21, 2024

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.

bjornsallarp avatar bjornsallarp commented on July 21, 2024

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.

KJee85 avatar KJee85 commented on July 21, 2024

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.

AjayJS avatar AjayJS commented on July 21, 2024

Hi,

I am also facing the same issue.

Regards,
Ajay.K

from stylecop.

SveinungFjaer avatar SveinungFjaer commented on July 21, 2024

Any news on this issue?

from stylecop.

matkoch avatar matkoch commented on July 21, 2024

This should be adressed by #167. Let's wait for @csdahlberg review.

from stylecop.

ThielHater avatar ThielHater commented on July 21, 2024

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.

daniel-cohen avatar daniel-cohen commented on July 21, 2024

@ThielHater Thanks ! renaming "yWorks.yFilesWPF.Viewer.dll" seems to be a work around.

from stylecop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.