mirror of https://github.com/godotengine/godot
Fixed opening new instances of VS 2022 while a instance is already open
(cherry picked from commit 93e2d0446f)
This commit is contained in:
parent
a357557282
commit
fd850ace8a
|
|
@ -183,7 +183,7 @@ namespace GodotTools.OpenVisualStudio
|
|||
continue;
|
||||
|
||||
// The digits after the colon are the process ID
|
||||
if (!Regex.IsMatch(ppszDisplayName, "!VisualStudio.DTE.16.0:[0-9]"))
|
||||
if (!Regex.IsMatch(ppszDisplayName, "!VisualStudio.DTE.1[6-7].0:[0-9]"))
|
||||
continue;
|
||||
|
||||
if (pprot.GetObject(moniker[0], out object ppunkObject) == 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue