From c23f4d7a8a8cc41c862ab9c114791046ee03a3bf Mon Sep 17 00:00:00 2001 From: 31 <31eee384@gmail.com> Date: Sun, 24 Jul 2022 16:04:12 -0700 Subject: [PATCH] Add notes for common C# bugs on Windows --- tutorials/scripting/c_sharp/c_sharp_basics.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tutorials/scripting/c_sharp/c_sharp_basics.rst b/tutorials/scripting/c_sharp/c_sharp_basics.rst index 7822253109d5..ad886b9d39c5 100644 --- a/tutorials/scripting/c_sharp/c_sharp_basics.rst +++ b/tutorials/scripting/c_sharp/c_sharp_basics.rst @@ -152,10 +152,21 @@ In Godot's **Editor → Editor Settings** menu: - Set **Mono** -> **Editor** -> **External Editor** to **Visual Studio**. -Next, you need to download the Godot Visual Studio extension from github +Next, you can download the Godot Visual Studio extension from github `here `__. Double click on the downloaded file and follow the installation process. +.. note:: The option to debug your game in Visual Studio may not appear after + installing the extension. To enable debugging, there is a + `workaround for Visual Studio 2019 `__ + There is + `a separate issue about this problem in Visual Studio 2022 `__. + +.. note:: If you see an error like "Unable to find package Godot.NET.Sdk", + your NuGet configuration may need to be corrected. In a file explorer + window, navigate to ``%appdata%\NuGet`` Rename or delete the + ``NuGet.Config`` file. When you build your Godot project again, .NET + will generate a default ``NuGet.Config`` file. Creating a C# script --------------------