I get the same error in Visual Studio 2017 when I press Build. I have to select a debugger, okay, then continue, then it processes the content.
Can't find a specific error in the Error List or EventViewer.
This is the UWP Template.
Let me know how I can get you a proper error message, so you can fix this.