-
Notifications
You must be signed in to change notification settings - Fork 250
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
nuget.exe should skip DNX projects #1227
Comments
It should probably not error out, and rather display a warning. |
We want to fix this immediately as it breaks VSO. We want not to error, but skip. Scenario: It tries to find the
This is a pretty serious issue, as it completely fails any VSO Build with Package Restore enabled on the Solution. 2.8.x just ignored the project files ... |
Yes, just disable it, like it was before 3.2 (VSO build uses 3.2 as soon as you update the VS extension) then you can finally restore packages that require 3.x (like System.Web.Http 4.0.1 beta), but you can't complete your build of the solution. My current workaround is ... split everything C# into one solution with VS package restore and |
verified this, it's fixed in 3.2.1 |
nuget.exe will incorrectly restore project.json files from DNX projects when a solution contains .xproj files or nuget.exe restore is called directly on the project.json file.
DNX projects should be skipped when restoring a solution. In scenarios where the user runs nuget.exe restore on an .xproj or project.json file NuGet should error out and display a message letting users know that nuget.exe does not support this.
The text was updated successfully, but these errors were encountered: