Reputation: 4465
Even a blanc uwp project is not able to build on visual studio 2017 15.8. Two minor versions have been released since 15.8.1 and 15.8.2 since than but they show the same problem.
Behavior : when you just try to restore nuget packages or build the project, the Build windows shows no output, i.e : it is black as if no progress is happening in build, and it remains like this for infinite amount of time, until you cancel the build, then it says "The Build has been canceled".
Upvotes: 0
Views: 113
Reputation: 4357
The other way is to trace your code to git and then you should close the VisualStudio and use git bash input the code.
git clean -xdf
This code can clean all of your temp files and then you can use VisualStudio to rebuild.
You can also use the new VisualStudio 2017 project to build your UWP code.
The new VisualStudio 2017 project is Microsoft.NET.Sdk
that can use nuget in your nuget folder and it needs do not copy nuget to the local folder.
See How to: Reference an MSBuild Project SDK - Visual Studio | Microsoft Docs
Old csproj to new csproj: Visual Studio 2017 upgrade guide
Upvotes: 1
Reputation: 4465
I fixed it with following steps:
Upvotes: 0