vccode添加包的时候提示失败,看日志是请求网址不对,不知道怎么搞了

mastermanager 2019-03-13 05:44:52
vccode添加包的时候提示失败,看日志是请求网址不对,不知道怎么搞了
日志如下:

info : 正在将包“jil”的 PackageReference 添加到项目“E:\VSCode\testEf\testEf.csproj”。
log : 正在还原 E:\VSCode\testEf\testEf.csproj 的包...
info : GET https://api.nuget.org/v3-flatcontainer/jil/index.json
info : GET https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0
info : OK https://api.nuget.org/v3-flatcontainer/jil/index.json 1037 毫秒
info : OK https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0 1419 毫秒
log : 对源“https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0”重试“FindPackagesByIdAsyncCore”。
log : “https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0”处的内容不是有效的 XML。
log : For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
info : GET https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0
info : OK https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0 1077 毫秒
log : 对源“https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0”重试“FindPackagesByIdAsyncCore”。
log : “https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0”处的内容不是有效的 XML。
log : For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
info : GET https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0
info : OK https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0 623 毫秒
error: 未能从远程源“https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0”检索有关“jil”的信息。
error: “https://go.microsoft.com/fwlink/?LinkID=206669/FindPackagesById()?id='jil'&semVerLevel=2.0.0”处的内容不是有效的 XML。
error: For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.



有大神帮我看看吗?
...全文
158 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
mastermanager 2019-03-14
  • 打赏
  • 举报
回复
没有人吗?这可如何是好啊

110,532

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧