Skip to content

Clicking on C# script does not launch Visual Studio anymore in 4.3 #95657

Closed
@gturri

Description

@gturri

Tested versions

  • bug in v4.3.stable.mono.custom_build [77dcf97]
  • it worked well in v4.2.2

System information

Windows 11

Issue description

I have a C# script attached to a node.
When I click on this icon while using Godot 4.2.2, it opens this file in Visual Studio. That's the expected behavior.
When I click on this icon while using "Godot 4.3 with mono support", it does not open Visual Studio (it does not have any visible impact AFACS, in particular: I don't even see any error message). That's the actual behavior

image

Nb1: I have the Èxternal Editor for dotnet configured to Visual Studio.
image

Nb2: It seems an issue specific to C# (or perhaps Visual Studio) because when I use gdscript and configure an external editor (tested with VsCode), then clicking on the script icon leads to correctly opening VsCode

Steps to reproduce

  • Open with "Godot 4.3 with mono support" a project with C# code attached to some node.
  • Configure in the Editor settings the key Dotnet > Editor > External Editor to Visual Studio
  • click on a "script" icon which represents a C# file.
  • Expect it to open Visual studio. Observe that it does not

Minimal reproduction project (MRP)

MRP-CannotOpenVsInGodot4_3.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions