godotengine / godotengine/godot-csharp-vscode

Plugin does not rebuild project upon launching game via debug configuration

Open
#7 1 comment 2 reactions 1 assignee Claimed by @neikeq View on GitHub
bug
Dominant language
TypeScript
Stars
165
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**OS/device including version:** macOS 10.15.5
**Godot version:** v3.2.2.stable.mono.official
**VSCode version:** 1.47.2

**Reproduction details:**
1. Create a Godot C# launch.json via VSCode's debug view.
2. Configure the Launch configuration with the correct path to the Godot executable
3. Run the game via the Launch configuration, then close the game.
4. Add a `Console.WriteLine` line to a method on any attached script in the main scene.
5. Run the game via the Launch configuration again.

**Expected:** Any changes made to a script will be included when you launch the game via VSCode's debugger.
**Actual:** The project is not rebuilt when launching the game and the contents of the `Console.WriteLine` will not be printed to the debug output.

**Notes:**
The same behaviour is noticed when running the Godot via the command line. Running `Godot --path ` directly does not pick up any changes to a C# script. If I run `msbuild .sln` first however, the script changes will then be picked up by the Godot command.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.