Comments (4)
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.
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.
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.
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)
- Provide notifications for new vesions
- The plugin v1.1 incorrectly reports "Failed to add Nuget reference" instead of adding normal reference from GAC to the project HOT 1
- Flag references to wrong framework files
- Add installer HOT 5
- Support 8.0 EAP HOT 1
- Adds reference to bin folder when no-one is referencing a nuget package HOT 2
- Doesn't add reference via nuget when adding a transitive dependency
- Keep getting update notification HOT 13
- Support ReSharper 7.1
- Problem loading HOT 5
- Nuget support for R# isn't updated in ReSharper 8.2 HOT 2
- ReSharper 8.0 HOT 2
- Support for R#9 HOT 11
- Support the remove unused references refactoring HOT 6
- Versions targeting ReSharper 7.x don't work in VS2010 HOT 1
- ReSharper references dlls in bin/debug
- Tests for other ReSharper plugins fail when installed HOT 3
- The 'VSTS for Database Professionals' package did not load correctly - when using the plugin HOT 7
- Fails to add packages with NuGet 2.2 HOT 6
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 resharper-nuget.