Solution has compiled successfully, but after I added an existing class file to the project, this error appeared:
The specified task executable \"csc.exe\
Close down all instances of Visual Studio. Then reopen the solution and rebuild.