Git Product home page Git Product logo

Comments (4)

citizenmatt avatar citizenmatt commented on June 12, 2024

Yeah, I'd like to see this, but I'm not sure how to present this information to the user - normally this kind of thing is an error in a file, but there isn't really a file to analyse and display an error for. It could be an error in packages.config, but you won't see that unless you're in the file, or have solution wide analysis switched on. Would that be good enough? And what to do if packages.config hasn't been created?

And the same kind of concerns are there for when the project isn't using the latest version. It's more of a warning than an error, but how do you tell the user?

Any ideas?

from resharper-nuget.

JamesKovacs avatar JamesKovacs commented on June 12, 2024

The most obvious would be a warning squiggly with hover-tip in the References folder of Solution Explorer, but I don't know if you can decorate nodes in the Solution Explorer. Anyone know if this can be done?

from resharper-nuget.

galaktor avatar galaktor commented on June 12, 2024

I see how finding the right place for a warning might be tricky. I generally use solution-wide analysis, so that would work for me.

I'd even be happy if it was an on-demand feature I could run to clean up my references, similar to (the incredibly useful) "Remove Unused References". Where there are DLL's in use that are available in a package, show them in a list with checkboxes (as with unused refs) and on OK set the project to use package DLL's instead.

Now that I think of it, this feature indeed feels very similar to "Remove unused refs", except that it's "Use package refs where available".

from resharper-nuget.

galaktor avatar galaktor commented on June 12, 2024

Also, there's a yellow exclamation mark warning that shows up on references when there is a problem with them (i.e. when the DLL is missing, or when the MSBuild "Condition" is invalid in the csproj).

However I have no idea how easy or hard it is to display that.

from resharper-nuget.

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.