-
Notifications
You must be signed in to change notification settings - Fork 253
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 configuration is invalid - VS 2015 VSIX (v3.4.3) #2667
Comments
Thanks for the report. |
Are there any error log files I can send you? |
My guess is that you have a nuget.config that is invalid XML, which used to be silently ignored. |
Our fix went in 3.4 and this complaint is about 3.4.2 vs 3.4.3 so I'm guessing something else is going on. Can you share the nuget.config files and error logs? |
I've reinstalled 3.4.3.855. I have a number of projects in a VS solution. When I pick 'Manage NuGet Packages...' on a C# class library NuGet opens as expected. When I try the same command on a Website project hosted in IIS I get the 'nuget configuration is invalid' error alert. In Tools > NuGet Package Manager > Package Manager Console: All the projects with the error don't appear in the 'Default project' dropdown. There is no entries relating to NuGet in the VS activity log: %APPDATA%\Microsoft\VisualStudio\Version\ActivityLog.xml Googled the location of the NuGet error log but can't find it. Can anyone suggest its location? I've attached: %APPDATA%\NuGet\NuGet.Config |
@jhngrant what type of project are you using, a web site, web application, something else? Is there an msbuild project file for this project? Does the project contain a project.json file or packages.config file? |
Can you compare to 2.8.x ? Sent from Outlook Mobilehttps://aka.ms/xp9y6l On Wed, Apr 27, 2016 at 7:21 PM -0700, "Zhi Li" <notifications@github.commailto:notifications@github.com> wrote: @emgartenhttps://github.com/emgarten I think this is also #2601#2601, for some reason, website nugetProject initialization fails. You are receiving this because you commented. |
@emgarten Web site project |
@emgarten Attached is the packages.config of a Web site project with the 'nuget configuration is invalid' error: There is no project.json To create this type of project File > New > Web Site... |
I made the issue replicate. I started my project in VS 2012 then later migrated to 2015. The .sln file looks as follows:
If I change the second Project line to read, Downgrading to 3.4.2 also solves the issue for me. |
Can you please try:
|
@rrelyea 3.4.4 has fixed the 'nuget configuration is invalid' issue on the web site projects. Also OK on other projects types I work on. |
@rrelyea we just ran into this same issue for our website projects. Installing this new vsix fixed the issue for usas well. |
@emgarten please close with the commit hash and assign to @zhili1208 for validation |
Tested the fix, works well |
cheers guys! |
3.4.4 has also fixed the 'nuget configuration is invalid' issue on my web projects. Thanks! |
No joy after trying most suggested fixes listed here: http://stackoverflow.com/questions/32344232/unable-to-install-any-package-in-visual-studio-2015
Only solution was to fallback to VS 2015 VSIX (v3.4.2)
Seems to occur when a website project is running in IIS rather that IIS Express ?
The text was updated successfully, but these errors were encountered: