Cannot Build for Windows - VS2017 Community Edition

I was trying to build a sample application, and I'm getting an error like below,
I have tried creating another application, still I'm getting the same error.
OS: Windows 10 Home
Compiler: VS 2017 Community Edition.