The following solved this issue for me:
Updating to the latest version of Visual Studio 2017 (using the installer app)
Clean and rebuild the solution
The following solved this issue for me:
Updating to the latest version of Visual Studio 2017 (using the installer app)
Clean and rebuild the solution