File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -98,10 +98,18 @@ function showDotnetToolsWarning(message: string) : void
9898 goToSettingsMessage , getDotNetMessage ) . then ( value => {
9999 if ( value === getDotNetMessage ) {
100100 let open = require ( 'open' ) ;
101- open ( 'https://www.microsoft.com/net/core' ) ;
101+ let dotnetcoreURL = 'https://www.microsoft.com/net/core'
102+
103+ // Windows redirects https://www.microsoft.com/net/core to https://www.microsoft.com/net/core#windowsvs2015
104+ if ( process . platform == "win32" )
105+ {
106+ dotnetcoreURL = dotnetcoreURL + '#windowscmd' ;
107+ }
108+
109+ open ( dotnetcoreURL ) ;
102110 } else if ( value === goToSettingsMessage ) {
103111 vscode . commands . executeCommand ( 'workbench.action.openGlobalSettings' ) ;
104112 }
105113 } ) ;
106114 }
107- }
115+ }
You can’t perform that action at this time.
0 commit comments