[nuget.exe] improve error messages when the packages.config file is invalid #1034

Closed
emgarten opened this Issue Jul 28, 2015 · 0 comments

Projects

None yet

3 participants

@emgarten
Contributor

When packages.config is invalid:

nuget.exe restore packages.config -> Exception has been thrown by the target of an invocation.
nuget.exe restore -> Data at the root level is invalid. Line 1, position 1.

These error messages should be improved and specify that there was a problem parsing the packages.config file.

@deepakaravindr deepakaravindr added this to the 3.1.0-commandline milestone Aug 6, 2015
@deepakaravindr deepakaravindr self-assigned this Aug 6, 2015
@deepakaravindr deepakaravindr added a commit to NuGetArchive/NuGet.PackageManagement that referenced this issue Aug 13, 2015
@deepakaravindr deepakaravindr Fixes NuGet/Home#1034
Showing user-friendly message when packages.config or solution file
is invalid, instead of simply showing the message from the exception
9a2feb6
@deepakaravindr deepakaravindr added a commit to NuGetArchive/NuGet.PackageManagement that closed this issue Aug 13, 2015
@deepakaravindr deepakaravindr Fixes NuGet/Home#1034
Showing user-friendly message when packages.config or solution file
is invalid, instead of simply showing the message from the exception
712eba2
@RanjiniM RanjiniM added the 2 - Working label Sep 1, 2015
@RanjiniM RanjiniM assigned emgarten and unassigned deepakaravindr Sep 1, 2015
@emgarten emgarten added 3 - Done and removed 2 - Working labels Sep 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment