Skip to content

Commit 9a8466c

Browse files
committed
Fix reload loop on mac
1 parent 7100bf4 commit 9a8466c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/utils.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ export async function InstallCSharpExtension() {
147147
throw new Error("Failed to activate C# extension");
148148
}
149149
console.log("==INSTALLED: C# Extension==");
150+
151+
// BUG: MacOS C# extension appears not not be able to be hot installed, it times out during a search for csproj files activation event.
152+
if (process.platform === "darwin") {
153+
console.log("==RELOADING: VSCode on Mac due to not being able to hot install C# extension==");
154+
await vscode.commands.executeCommand("workbench.action.reloadWindow");
155+
}
150156
}
151157
}
152158

0 commit comments

Comments
 (0)