I was having a similar issue, and after updating Visual Studio to the latest version, the issue was resolved.