Visual Studio 2017 nuget包惊叹号甚至包还原都可以完成 [英] Visual Studio 2017 nuget packages exclamation marks even packages restoring completes fine
问题描述
我没有做错什么,但这真令人讨厌.
I dont what I am doing wrong but this is so annoying.
仅安装了最新的Visual Studio2017.
Just installed the latest Visual Studio 2017.
我已经使用yo aspnetcore-spa模板创建了一个aspnetcore-angular 2项目
I have created a aspnetcore-angular 2 project with using yo aspnetcore-spa template
yo aspnetcore-spa
现在我只想在Visual Studio 2017 RC中打开项目.
Now I want to simply open the project in Visual Studio 2017 RC.
我永远不会认为这会那么复杂.
I would never think that this would be that complicated.
这是我拥有的链接接着.
但是现在当我在VS 2017 RC中打开项目时,我无法构建该项目.
But now when I open the project in VS 2017 RC I cannot build the project.
我可以看到,即使引用了nuget程序包,它们也会在其上显示感叹号.请参阅所附的屏幕截图.
I can see that even the nuget packages are referenced they show exclamation marks on them. See the screenshot attached.
我尝试了eththing,Update-Package,dotnet restore等.但是没有成功.
I tried evething, Update-Package, dotnet restore, etc. But no success.
不知道项目进展如何.
有什么主意吗?
推荐答案
我遇到了同样的问题.当我以管理员身份运行VS2017后,软件包将恢复.希望对您有所帮助.
I faced the same issue. The packages restored once i ran VS2017 as an administrator. Hope this Helps.
这篇关于Visual Studio 2017 nuget包惊叹号甚至包还原都可以完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!