Skip to content

Commit 019a9f8

Browse files
committed
Try MacOS Hot Install Again
1 parent fd7b0d1 commit 019a9f8

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

test/features/DebugSession.test.ts

-11
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@ beforeEach(() => {
2222
defaultDebugConfig = structuredClone(defaultDebugConfigurations[DebugConfig.LaunchCurrentFile]);
2323
});
2424

25-
before(async () => {
26-
if (process.platform === "darwin") {
27-
// BUG: Attempting to hot install C# extension on MacOS without a reload results in:
28-
// Not activating extension 'ms-dotnettools.csharp': Timed out while searching for 'workspaceContains' pattern **/*.{csproj,sln,slnf,csx,cake}
29-
// And I have no idea why. To workaround we instead start it before all tests and then reload the vscode window.
30-
31-
console.log("==INSTALL: Early Install MacOS C# extension and reload VSCode==");
32-
await InstallCSharpExtension();
33-
}
34-
});
35-
3625
describe("DebugSessionFeature", () => {
3726
// These constructor stubs are required for all tests so we don't interfere with the E2E vscode instance
3827
let registerProviderStub: Sinon.SinonStub;

test/utils.ts

-6
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,6 @@ 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-
}
156150
}
157151
}
158152

0 commit comments

Comments
 (0)