Giter VIP home page Giter VIP logo

Comments (16)

jongleur1983 avatar jongleur1983 commented on July 3, 2024

Stumbled over the same problem with XUnit, so probably it would be good to ignore classes and/or methods configurable by e.g.

  • name pattern,
  • existing attributes (like [NUnit.Framework.TestFixture], [XUnit.FactAttribute] etc,)
  • project (to excluce test projects)

For test code the "ignore attributed methods" could be collected in presets ("ignore XUnit test code", "ignore NUnit test code", ...)

from exceptionalresharper.

Lechus avatar Lechus commented on July 3, 2024

2016-09 still issue not fixed?

from exceptionalresharper.

jongleur1983 avatar jongleur1983 commented on July 3, 2024

@Lechus feel free to work on it, or try to contribute in useful way at least, instead of complaining about time others do not spend enough in your eyes.

from exceptionalresharper.

RicoSuter avatar RicoSuter commented on July 3, 2024

I will accept PRs but I currently do not have the time to work on this project directly...

from exceptionalresharper.

jongleur1983 avatar jongleur1983 commented on July 3, 2024

@RSuter still struggling with project structure/debugging/different ReSharper versions, but quite interested in the project. Once I solve my issues with how to smoothly work on it, I think about getting a core contributor (if you like)

from exceptionalresharper.

RicoSuter avatar RicoSuter commented on July 3, 2024

I don't know if there is a good debugging story with the latest ReSharper, maybe @citizenmatt knows more?

from exceptionalresharper.

jongleur1983 avatar jongleur1983 commented on July 3, 2024

I asked @citizenmatt about it on Twitter already, which solved my issues up to a certain point (trying to debug Exceptional with ReSharper 2016.2), now I get it started and installed in a test instance, but it doesn't show up anywhere yet.
Before I used the quite outdated ReSharper API documentation that still referred to a devenv command line switch to use the extension to debug.

from exceptionalresharper.

citizenmatt avatar citizenmatt commented on July 3, 2024

This is the page, that explains how to get debugging working. It's up to date, and has links to other sections such as creating the test instance and installing ReSharper there.

Once you've got a test instance set up with ReSharper installed, you can just install your extension from a local folder, and you're set up to debug. Either attach the debugger, or launch VS directly in the debugger, passing in the name of the test instance. You can also simply copy your .dll to the installation folder, too, to make it a bit easier to build, test, edit.

If nothing is showing up, you'll want to check the troubleshooting page.

from exceptionalresharper.

RicoSuter avatar RicoSuter commented on July 3, 2024

Thanks @citizenmatt, I really miss the /ReSharper.Plugin flag which made debugging extremely simple... Now you always have to build, install, attach debugger, etc... its too time consuming to develop a R# extension.

from exceptionalresharper.

jongleur1983 avatar jongleur1983 commented on July 3, 2024

still no success for me unfortunately. (sorry for hijacking this thread for now).
Resharper install log contains this exception:

--- EXCEPTION #1/1 [LoggerException] Message = β€œThe Master Assembly Binder does not know this assembly, and neither does the GAC. Reference from assembly ReSharper.Exceptional.2016.1 to assembly JetBrains.ReSharper.Feature.Services could not be resolved.” ExceptionPath = Root ClassName = JetBrains.Util.LoggerException HResult = COR_E_APPLICATION=80131600

All I could find about that sounds unreasonable as Exceptional should have worked before, so it shouldn't be necessary to add or remove some dependencies.

from exceptionalresharper.

RicoSuter avatar RicoSuter commented on July 3, 2024

did you install it via nuget?
i think you have to define your own nuget source (i.e. directory path) and install the locally compiled nuget (see .bat scripts)...

from exceptionalresharper.

jongleur1983 avatar jongleur1983 commented on July 3, 2024

I didn't use a Nuget source, but a resharper plugin source (may be what you're talking about).
I may have done anything wrong when trying to create the 2016.2 package though. Starting from scratch again now stashing all changes Exceptional is not available in the plugin list (even though the Exceptional 2016.1 package is in the local package source I configured).

So I tried the following changes (and nothing else):

  • in packages.config I upgraded the package Wave from 5.0.0.0 to 6.0.0.0

  • in the nuspec file I changed the wave dependency to version="[6.0, 7.0)"

    Doing that, Exceptional occurs in the plugin list of the experimental VS instance and I can (try to) install it, but get the Exception posted earlier. What's missing?

from exceptionalresharper.

RicoSuter avatar RicoSuter commented on July 3, 2024

You have to upgrade the wave version with nuget, only changing it in packages.config is not enough...

from exceptionalresharper.

RicoSuter avatar RicoSuter commented on July 3, 2024

@lotosbin has a working fork with v2016.2 you can merge it from there...

from exceptionalresharper.

citizenmatt avatar citizenmatt commented on July 3, 2024

Yeah, update the JetBrains.ReSharper.SDK package via nuget (just changing packages.config won't work). It'll upgrade everything else, including the Wave package. Then yes, update the Wave dependency to "[6.0]" in your .nuspec.

from exceptionalresharper.

Aratirn avatar Aratirn commented on July 3, 2024

The possibility of turning the plugin off for certain projects (i.e. test assemblies) would be really interesting. Specially when testing for exceptions.

from exceptionalresharper.

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.