Skip to content
This repository was archived by the owner on Sep 3, 2022. It is now read-only.

Commit 721c32e

Browse files
authored
Merge pull request godotengine#57618 from Densorius/master
Fixed opening new instances of VS 2022 while a instance is already open
2 parents 89eb6d3 + 93e2d04 commit 721c32e

File tree

1 file changed

+1
-1
lines changed
  • modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio

1 file changed

+1
-1
lines changed

modules/mono/editor/GodotTools/GodotTools.OpenVisualStudio/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ private static DTE FindInstanceEditingSolution(string solutionPath)
183183
continue;
184184

185185
// The digits after the colon are the process ID
186-
if (!Regex.IsMatch(ppszDisplayName, "!VisualStudio.DTE.16.0:[0-9]"))
186+
if (!Regex.IsMatch(ppszDisplayName, "!VisualStudio.DTE.1[6-7].0:[0-9]"))
187187
continue;
188188

189189
if (pprot.GetObject(moniker[0], out object ppunkObject) == 0)

0 commit comments

Comments
 (0)