-
Notifications
You must be signed in to change notification settings - Fork 260
Can't apply a NuGet package to a blank solution in VS 2015 #1076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Solution level packages are deprecated in Visual Studio 2015. You can apply a package to a project and a simple way to achieve it is to create a project that will include what you used to apply to the solution level. |
Too bad. Why removing a feature that is useful and doesn't harm? :-( At my company we often create solutions with a predefined layer structure (interface, domain, infrastructure, tests) and we have a NuGet package that creates one project for each of these layers with the appropriate name and namespace depending on the solution name, plus adds a set of build scripts. With this change we will have to trash this, I can't see how we can use the "apply the same to a project" approach. So we'll have to keep VS 2013 installed forever, just to apply this package to new solutions. That's crazy! |
Nuget was never intended to be a visual studio scripter. What you could do instead is build a vsix. |
Even applying package at project level not working - PM> Install-Package xunit.runner.utility -Version 2.1.0 Install-Package xunit.runner.utility -Version 2.1.0
|
That looks like an unrelated issue, please open a new bug and provide exact details on how to reproduce the issue. Please make sure you are using the latest nuget extension (3.4.4-rc at the moment) |
I got it fixed now after following 'bitpen' 4 steps listed here - http://stackoverflow.com/questions/10130333/cant-install-packages-with-nuget-500-internal-server-error |
Easiest way to fix this is to open a working vs2015 solution(create a new one if you don't have one) and try the Install-Package command again. |
When I try to apply a NuGet package to a blank solution (the package creates a group of related projects in the solution) in Visual Studio 2015 I get the following error:
This was working fine in Visual Studio 2013.
The text was updated successfully, but these errors were encountered: