Skip to content

Commit

Permalink
Add notes for common C# bugs on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
31 committed Jul 25, 2022
1 parent 33caaf6 commit c23f4d7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tutorials/scripting/c_sharp/c_sharp_basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/godotengine/godot-csharp-visualstudio/releases>`__.
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 <https://github.com/godotengine/godot-csharp-visualstudio/issues/10#issuecomment-720153256>`__
There is
`a separate issue about this problem in Visual Studio 2022 <https://github.com/godotengine/godot-csharp-visualstudio/issues/28>`__.

.. 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
--------------------
Expand Down

0 comments on commit c23f4d7

Please sign in to comment.