godot-csharp-visualstudio icon indicating copy to clipboard operation
godot-csharp-visualstudio copied to clipboard

Can not launch game from Visual Studio 2022

Open mmarramarco opened this issue 3 years ago • 12 comments

Windows 10 Godot 3.4.3 Microsoft Visual Studio Community 2022 (64-bit) - Current: Version 17.1.0 Using version 2.0.0 of the extension

As I understand it the package is supposed to add launch profiles, similar to the extension for VSCode (that one worked wonderfully) but it seems to do absolutely nothing in Visual Studio 2022.

I tried installing and resinstalling, enabling and disabling the extension, I looked through the available settings for that extension (and found that it needed the path to Godot, that I added).

But no launch profiles are added, so I'm not sure if it's a bug, if I forgot a step, or if this simply isn't what the extension is supposed to do.

mmarramarco avatar Mar 04 '22 23:03 mmarramarco

I have the same problems. It is a bug. Please see: https://github.com/godotengine/godot-csharp-visualstudio/issues/10 attempt for using workarround resulting in: https://github.com/godotengine/godot-csharp-visualstudio/issues/26

Windows 7 Godot_v3.4.3-stable_mono_win64 VS Community 2022 (3) (64-bit) - 17.1.0 godot-csharp-visualstudio v2.0.0

zbyna avatar Mar 05 '22 04:03 zbyna

I can not install this tools. system version unmatch Windows 11 was detected 6.2.9200.0

Mephilas avatar Mar 07 '22 03:03 Mephilas

Debug will not launch even after plugin installed. Code completion and build worked without the plugin. Installation of the plugin literally changed nothing.

larinius avatar Mar 24 '22 20:03 larinius

I have the same problems

3da avatar Apr 05 '22 21:04 3da

Same here. Plugin is completely useless at this point. Install it and it does literally nothing but waste your time and cause hours of frustration as you try to find any way to get it to work properly. Please fix.

MythicPalette avatar Apr 11 '22 01:04 MythicPalette

I have the same issues, hopefully this can get a fix. I prefer Visual Studio over Visual Studio Code.

Mawkey avatar Apr 16 '22 15:04 Mawkey

Works for me, if i use the workaround, including Intellisense completion (completion stopped, then started working again).

adambasis avatar May 12 '22 20:05 adambasis

I have the same issue, how can we resolve this? I tried some workarounds, but none worked so far. Main problem with those is migrating project of sort error.

userqt avatar Jun 19 '22 21:06 userqt

Can someone say, how to debug with this plugin?

Aegel5 avatar Aug 16 '22 12:08 Aegel5

Workarounds do not work if you target C# 8.0.

Anixias avatar Dec 02 '22 00:12 Anixias

Update 27th Feb 2023

Summary of instructions for VS2022

  • https://www.reddit.com/r/godot/comments/xhirp8/debugging_godot4_beta_projects_from_vs_and_vscode/
  • https://www.reddit.com/r/GodotCSharp/comments/xgpqfh/oc_rundebug_godot4_c_projects_from_visual_studio/
  • https://gist.github.com/31/302bab2630ddf8d90ab4aec0d358b538?permalink_comment_id=4178016

GeorgeS2019 avatar Feb 27 '23 14:02 GeorgeS2019

Workaround mentioned for VS2022 works but with one additional note: Remove existing VS extension if it was previously installed.

andreisbarnea avatar Mar 19 '23 07:03 andreisbarnea