godotengine/godot-csharp-visualstudio

Can't run project from withing Visual Studio with Godot 3.3.4

blackears opened this issue · 2 comments

OS/device including version:
Windows 10 Pro 10.0.19043 Build 19043

Issue description:
I followed the documentation to set up Godot with visual studio but received error message when I try to run/debug my project from within the Visual Studio editor. I posted about this on the Godot forums, and someone responded with a video describing the problem and showing a work around that involved manually rewriting the project file. The Godot C# VisualStudio plugin should be updated to reflect the latest versions of Godot and VisualStudio so that solutions can be created that do not involve this amount of manual editing:

https://godotforums.org/discussion/27974/error-when-trying-to-run-project-from-within-visual-studio/p1?new=1

Screenshots of issue:

This also happens on Windows 11, latest Godot version 3.4 and Visual Studio 2019. More info here:
godotengine/godot#54901

Closing as duplicate of #10.

We're stuck with this issue since we upgraded to Sdk style project files. There's poor documentation about extending Visual Studio for the new Sdk style projects. I tried these official examples as well without success. I don't know if what we need is supported at all or just poorly documented.