After further testing, what you’re seeing is the result of an issue that is currently being investigated. The compile is still completing (you can see the “Hot Reload Complete” message inside the editor) even though VS is reporting an error. This seems to be caused by .dll files in the project’s Intermediate folder. Because this is related to hot reload, you can avoid this completely by closing the project before compiling from Visual Studio.
Cheers