Ok, don’t be cross with me, I know the comments aren’t clean code. But sometimes we need them. ReSharper templates is excellent possibility to write your comments quicker and personalized so you can ask the next time: “hey guy what did you meant with this?”.
NuGet is just great tool for the managing third-party assemblies in your Visual Studio projects. If you are using the ReSharper and you are using a type that isn’t referenced in the current project but in another one, ReSharper will offer to add new reference just with the one click. In the case of NuGet, those assemblies are indeed referenced from the right location, but are not using the packages.config metadata file, which is essential for the NuGet to know which assemblies are referenced by what project.
But is seems there is already for a couple of time a solution for this. JetBrains (the company behind ReSharper) released plugins for ReSharper 7.1 and 8.0.
- 7.1 https://github.com/JetBrains/resharper-nuget/wiki/Release-Notes
- 8.0 http://resharper-plugins.jetbrains.com/packages/ReSharper.NuGet
If you want to know more details about the issue read here.