Nuget 包管理器在 VS Express 2013 中不起作用

编程入门 行业动态 更新时间:2024-10-11 23:17:28
本文介绍了Nuget 包管理器在 VS Express 2013 中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我使用的是 Visual Studio Express 2013.

I'm using Visual Studio Express 2013.

尝试安装 nuget 包时,出现错误(在 2012 express 中尝试时没有错误):

When trying to install a nuget package, I am getting an error (no error when trying in 2012 express):

PM> Install-Package AutoMapper Install-Package : Unable to connect to the remote server At line:1 char:16 + Install-Package <<<< AutoMapper + CategoryInfo : NotSpecified: (:) [Install-Package], WebException + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

互联网正在工作(我有 Vs 2012 同时工作和安装 nuget 包 - 没有问题).

Internet is working (I have Vs 2012 working and installing nuget packages at the same time - with no issues).

VS -> 工具 -> 扩展和更新说:无法检查更新,因为在尝试联系服务器时发生以下错误:无法连接到远程服务器 - 请单击此处重试请求 - 当我点击它时,它会回到检索信息"循环.

VS -> Tools -> Extensions and Updates says: Cannot check for updates because the following error(s) occurred whil trying to contact the server: Unable to connect to the remote server - please click here to retry the request - when I click that, it goes back to the "retrieving information" loop.

有人知道如何解决这个问题吗?

Does anyone have any ideas how to resolve this?

谢谢你,马克

推荐答案

我遇到了同样的问题.如果我在启动 VS 时选择以管理员身份运行",我就可以从 VS2013 连接到 NuGet.

I had the same problem. I was able to connect to NuGet from VS2013 if I select "Run As Administrator" when launching VS.

更多推荐

Nuget 包管理器在 VS Express 2013 中不起作用

本文发布于:2023-11-27 15:39:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1638597.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:管理器   中不   Nuget   Express

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!