MCPcopy
hub / github.com/PowerShell/vscode-powershell / setSessionFailedGetDotNet

Method setSessionFailedGetDotNet

src/session.ts:1299–1313  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

1297 }
1298
1299 private async setSessionFailedGetDotNet(message: string): Promise<void> {
1300 this.setSessionStatus("Startup Error!", SessionStatus.Failed);
1301 await this.logger.writeAndShowErrorWithActions(message, [
1302 {
1303 prompt: "Open .NET Framework Documentation",
1304 action: async (): Promise<void> => {
1305 await vscode.env.openExternal(
1306 vscode.Uri.parse(
1307 "https://dotnet.microsoft.com/en-us/download/dotnet-framework",
1308 ),
1309 );
1310 },
1311 },
1312 ]);
1313 }
1314
1315 private async changePowerShellDefaultVersion(
1316 exePath: IPowerShellExeDetails,

Callers 1

sessionStartedMethod · 0.95

Calls 2

setSessionStatusMethod · 0.95

Tested by

no test coverage detected