question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nuget list command failed

See original GitHub issue

Describe the bug

when i run below command line:

nuget list -s http://get.blabla.com

the response is:

“doctype”是意外的标记。标记应为“DOCTYPE”。 第 1 行,位置 3。
"doctype"  is exception mark, should be "DOCTYPE". line 1, position 3.

by the way, in visual studio 2017, when i add the ‘http://get.balbla.com’ as a new nuget server source, i get the same error message. any help very thanks.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
loic-sharmacommented, Apr 4, 2019

@stamepicmorg I’ll likely add in these legacy APIs at some point, but this isn’t a very high priority for me. What’re you using nuget list for? FYI, this command is now deprecated and will be removed in future versions of NuGet. See https://github.com/NuGet/Announcements/issues/34

2reactions
jpylypiwcommented, Jul 22, 2020

Hello everybody! I stumbled across the project today and installed the system in-house. We want to use the system for nuget packages from different departments. There are also chocolatey packages in the administration team. Since chocolatey is currently using the v2 nuget API the package installation is currently not working. Chocolatey will not implement the v3 API in the near future. There is an open issue https://github.com/chocolatey/choco/issues/508 from chocolatey. At BaGet I found an open merge request https://github.com/loic-sharma/BaGet/pull/294 that would allow the use of Chocolatey. Is it possible to check and merge the merge request?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nuget List-Package Error
List-Package is incorrect command name. You should use Get-Package command. Look details at docs.nuget.org.
Read more >
Troubleshooting NuGet Package Restore in Visual Studio
Use NuGet Package Restore to download them. The missing file is {name}. This error occurs when you attempt to build a project that...
Read more >
Issues Running the Local Agent
The error message states "The attribute "Version" in element <PackageReference> is unrecognized" which suggests that the version of NuGet being ...
Read more >
.NET Core - The nuget command failed with exit code(1) ...
The nuget command failed with exit code(1) and error(System.InvalidCastException: Unable to cast object of type 'System.String' to type 'NuGet.
Read more >
The nuget command failed with exit code(1) and error ...
The nuget command failed with exit code(1) and error(Failed to retrieve information about 'Microsoft.VisualStudio.Web.CodeGeneration.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found