1

I dont what I am doing wrong but this is so annoying.

Just installed the latest Visual Studio 2017.

I have created a aspnetcore-angular 2 project with using yo aspnetcore-spa template

 yo aspnetcore-spa

Now I want to simply open the project in Visual Studio 2017 RC.

I would never think that this would be that complicated.

here is the link that I have followed.

But now when I open the project in VS 2017 RC I cannot build the project.

I can see that even the nuget packages are referenced they show exclamation marks on them. See the screenshot attached.

enter image description here enter image description here I tried evething, Update-Package, dotnet restore, etc. But no success.

No idea whats going on with the project.

Any idea?

akd
  • 6,538
  • 16
  • 70
  • 112

1 Answers1

2

I faced the same issue. The packages restored once i ran VS2017 as an administrator. Hope this Helps.

CaptainHere
  • 698
  • 6
  • 14
  • 1
    Amazing. It seems that it is sufficient to only do this once, start VS and load the project, to clear up the exclamation mark. After that you can open VS without "Run as administrator". @akd, please mark this response as the solution (with 1584 reputation points you should know this by now ;-) – Christoph Apr 09 '17 at 02:50
  • @Christoph - it doesn't fix the issue for a majority of us. I answered above which is what I suspect happened for the answer of this inadvertently. – Dave Friedel Nov 23 '17 at 05:13