Skip to content

Commit 6e623d3

Browse files
remove c# devkit reference
1 parent 8382d5b commit 6e623d3

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

src/coreclrDebug/activate.ts

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -224,18 +224,12 @@ function showInstallErrorMessage(eventStream: EventStream) {
224224
function showDotnetToolsWarning(message: string): void {
225225
const config = vscode.workspace.getConfiguration('csharp');
226226
if (!config.get('suppressDotnetInstallWarning', false)) {
227-
const getDotNetMessage: ActionOption | Command =
228-
getCSharpDevKit() !== undefined
229-
? {
230-
title: vscode.l10n.t('Get the SDK'),
231-
command: 'csdevkit.installDotnetSdk',
232-
}
233-
: {
234-
title: vscode.l10n.t('Get the SDK'),
235-
action: async () => {
236-
await vscode.env.openExternal(vscode.Uri.parse('https://dot.net/core-sdk-vscode'));
237-
},
238-
};
227+
const getDotNetMessage: ActionOption | Command = {
228+
title: vscode.l10n.t('Get the SDK'),
229+
action: async () => {
230+
await vscode.env.openExternal(vscode.Uri.parse('https://dot.net/core-sdk-vscode'));
231+
},
232+
};
239233
const goToSettingsMessage: ActionOption = {
240234
title: vscode.l10n.t('Disable message in settings'),
241235
action: async () => {

0 commit comments

Comments
 (0)