-
Notifications
You must be signed in to change notification settings - Fork 8
Home
This plugin for ReSharper adds support for NuGet references to ReSharper. It supports ReSharper 7.1 and 6.1.
ReSharper has a Context Action on undefined types that looks at assemblies referenced in other projects for that type. If it finds a match, it will add a reference to the assembly, and import the namespace, fixing up the undefined error.
However, ReSharper always adds the assembly as a file reference, even if the assembly is part of a NuGet package. This means NuGet's referencing is bypassed, and the packages.config file isn't updated, dependencies aren't installed, and things don't work when it's time to update the package.
This plugin makes ReSharper invoke NuGet when adding a reference to an assembly in a NuGet package.
If you wish to just install a copy of the plugins without building yourself:
- Download the latest zip file: resharper-nuget.1.2.zip
- Extract everything
- Run the appropriate batch file for your version of ReSharper, e.g. Install-NuGetSupport.7.1.bat for ReSharper 7.1.1, or Install-NuGetSupport.6.1.bat for ReSharper 6.1.1
See the Release-Notes wiki page.