mirror of
https://github.com/godotengine/godot-csharp-visualstudio.git
synced 2026-01-03 10:09:16 +03:00
Close throws exception if not running on main thread. Roslyn dependency set.
This commit is contained in:
@@ -148,6 +148,7 @@ namespace GodotAddinVS
|
||||
|
||||
private void Close()
|
||||
{
|
||||
ThreadHelper.ThrowIfNotOnUIThread();
|
||||
if (GodotMessagingClient != null)
|
||||
{
|
||||
ServiceContainer.RemoveService(typeof(Client));
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
<Prerequisites>
|
||||
<Prerequisite Id="Microsoft.VisualStudio.Component.MonoDebugger" Version="[16.0,)" DisplayName="Mono debugger" />
|
||||
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[16.0,)" DisplayName="Visual Studio core editor" />
|
||||
<Prerequisite Id="Microsoft.VisualStudio.Component.Roslyn.LanguageServices" Version="[16.0,)" DisplayName="Roslyn Language Services" />
|
||||
|
||||
<!--
|
||||
Found no better way to make Visual Studio install Clide when installing this extension.
|
||||
|
||||
Reference in New Issue
Block a user