You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/coreclr-debug.ts
+18-7Lines changed: 18 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,15 @@ export function installCoreClrDebug(context: vscode.ExtensionContext) {
27
27
}
28
28
29
29
if(!isOnPath('dotnet')){
30
-
// TODO: In a future release, this should be an error. For this release, we will let it go
31
-
console.log("The .NET CLI tools are not installed. .NET Core debugging will not be enabled.");
30
+
constgetDotNetMessage="Get .NET CLI tools";
31
+
vscode.window.showErrorMessage("The .NET CLI tools cannot be located. .NET Core debugging will not be enabled. Make sure .NET CLI tools are installed and are on the path.",
32
+
getDotNetMessage).then(function(value){
33
+
if(value===getDotNetMessage){
34
+
varopen=require('open');
35
+
open("http://dotnet.github.io/getting-started/");
36
+
}
37
+
});
38
+
32
39
return;
33
40
}
34
41
@@ -45,9 +52,8 @@ export function installCoreClrDebug(context: vscode.ExtensionContext) {
45
52
};
46
53
})();
47
54
48
-
_channel.appendLine("Downloading and configuring the .NET Core Debugger...");
49
-
_channel.show(vscode.ViewColumn.Three);
50
-
55
+
vscode.window.setStatusBarMessage("Downloading and configuring the .NET Core Debugger...");
56
+
51
57
letinstallStage='dotnet restore';
52
58
letinstallError='';
53
59
@@ -71,10 +77,15 @@ export function installCoreClrDebug(context: vscode.ExtensionContext) {
0 commit comments