In my company, we have a NuGet package that, when applied to an empty solution, Visual Studio will generate a solution template with a predefined set of correctly named and configured projects. We install the package simply by running the regular Install-package command in the package manager console.
However, this does not seem to work in Visual Studio 2015. If I try to install the package, I get this error:
install-package : Project 'Default' is not found. At line:1 char:1 + install-package (The package name) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Default:String) [Install-Package], ItemNotFoundException + FullyQualifiedErrorId : NuGetProjectNotFound,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand
What puzzles me is that it works fine in Visual Studio 2013. I was looking for information about this behavior, but I did not see it being mentioned and not mentioned as an error elsewhere.
Does anyone know what is going on here? This is mistake? Is this a change in the way NuGet works in VS 2015?
By the way, if that matters, the VS 2013 version I'm using is Professional, and the VS 2015 version is a community.
visual-studio-2015 nuget
Konamiman
source share