代码之家  ›  专栏  ›  技术社区  ›  JAB

Nuget错误:分析值时遇到意外字符:<。路径“”,第0行,位置0

  •  0
  • JAB  · 技术社区  · 4 年前

    在VS2019包管理器控制台中运行命令时出错

    使用的命令:nuget install runtime.win-x64.microsoft.netcore.app-Source https://api.nuget.org/v3/index.json


    PM>nuget install runtime.win-x64.microsoft.netcore.app-源代码 https://api.nuget.org/v3/index.json 使用的源: https://api.nuget.org/v3/index.json

    正在将包“runtime.win-x64.microsoft.netcore.app”安装到“C:\Users\DF\source\RT\DFG\RET\sample”。 隐藏物 https://api.nuget.org/v3/registration5-gz-semver2/runtime.win-x64.microsoft.netcore.app/index.json 分析值时遇到意外字符:<。路径“”,第0行,位置0。 https://api.nuget.org/v3/registration5-gz-semver2/runtime.win-x64.microsoft.netcore.app/index.json 好的 https://api.nuget.org/v3/registration5-gz-semver2/runtime.win-x64.microsoft.netcore.app/index.json 255毫秒 在line:1 char:1

    • nuget install runtime.win-x64.microsoft.netcore.app-源代码https://a ...
    •   + CategoryInfo          : NotSpecified: (An error occurr...ce 'nuget.org'.:String) [], RemoteException
        + FullyQualifiedErrorId : NativeCommandError
      
      Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
      
    0 回复  |  直到 4 年前