我已经在Mac的Visual Studio中使用ASPNET Core模板创建了一个新项目.
I've created a new project using the ASPNET Core template in Visual Studio for Mac.
我可以正常运行默认项目,但是当我添加对"Microsoft.AspNetCore.Mvc"的引用时或任何其他与MVC相关的 软件包,它们无法在OSX下安装:(还原时,大多数nuget软件包在HTTP GET期间都会收到在下载类型时发生故障"(api.nuget/v3-flatcontainer /microsoft.extensions.caching.memory/1.1.0/microsoft.extensions.caching.memory.1.1.0.nupkg 例如).
I can run the default project fine,but when I add reference to "Microsoft.AspNetCore.Mvc" or any of the other MVC related packages, they fail to install under OSX :( I get "failure has occurred while downloading a type" during the HTTP GET for most of the nuget packages when the restore happens (api.nuget/v3-flatcontainer/microsoft.extensions.caching.memory/1.1.0/microsoft.extensions.caching.memory.1.1.0.nupkg for example).
推荐答案
嗨Jayme Edwards,
Hi Jayme Edwards,
欢迎来到MSDN论坛.
Welcome to the MSDN forum.
请参阅您的描述,我尝试在本地重现此问题,我发现其中大多数软件包无法下载和安装,只有很少的软件包可以正常工作,请查看以下内容:
Refer to your description, I tried to reproduce this issue on my local and I found most of those packages cannot be downloaded and install, only little packages work fine, please have a look at the following:
我已将此问题报告给VS项目团队,请检查以下屏幕截图,然后我们需要等待VS产品团队工程师的反馈,对于由此带来的不便,我们深表歉意.
I have reported this issue to the VS project Team, please check the following screenshot, then we need to waiting for the feedback from the VS product team engineers, sorry for this inconvenience and thank you for your understanding.
最诚挚的问候,
萨拉
更多推荐
Visual Studio for Mac 2017
发布评论