File tree Expand file tree Collapse file tree 7 files changed +11
-9
lines changed Expand file tree Collapse file tree 7 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 25
25
"postCreateCommand" : " ./build.ps1 -SkipTests" ,
26
26
"remoteEnv" : {
27
27
"DOTNET_ROLL_FORWARD" : " Major" ,
28
- "PATH" : " /root/.dotnet/tools:${containerWorkspaceFolder}/.dotnetcli :${containerEnv:PATH}"
28
+ "PATH" : " /root/.dotnet/tools:${containerWorkspaceFolder}/.dotnet :${containerEnv:PATH}"
29
29
}
30
30
}
Original file line number Diff line number Diff line change 1
1
.DS_Store
2
- .dotnetcli
2
+ .dotnet
3
3
.idea
4
4
.metadata
5
5
.settings
Original file line number Diff line number Diff line change 47
47
48
48
if ($installDotNetSdk -eq $true ) {
49
49
50
- $env: DOTNET_INSTALL_DIR = Join-Path $PSScriptRoot " .dotnetcli "
50
+ $env: DOTNET_INSTALL_DIR = Join-Path $PSScriptRoot " .dotnet "
51
51
$sdkPath = Join-Path $env: DOTNET_INSTALL_DIR " sdk" " $dotnetVersion "
52
52
53
53
if (! (Test-Path $sdkPath )) {
Original file line number Diff line number Diff line change 2
2
"sdk" : {
3
3
"version" : " 9.0.202" ,
4
4
"allowPrerelease" : false ,
5
- "rollForward" : " latestMajor"
5
+ "rollForward" : " latestMajor" ,
6
+ "paths" : [ " .dotnet" , " $host$" ],
7
+ "errorMessage" : " The required version of the .NET SDK could not be found. Please run ./build.ps1 to bootstrap the .NET SDK."
6
8
}
7
9
}
Original file line number Diff line number Diff line change 11
11
"enableEditorConfigSupport" : true
12
12
},
13
13
"msbuild" : {
14
- "MSBuildSDKsPath" : " .\\ .dotnetcli " ,
14
+ "MSBuildSDKsPath" : " .\\ .dotnet " ,
15
15
"EnablePackageAutoRestore" : true ,
16
16
"loadProjectsOnDemand" : true
17
17
},
Original file line number Diff line number Diff line change 4
4
:: This command launches a Visual Studio solution with environment variables required to use a local version of the .NET SDK.
5
5
6
6
:: This tells .NET to use the same dotnet.exe that the build script uses.
7
- SET DOTNET_ROOT = %~dp0 .dotnetcli
8
- SET DOTNET_ROOT(x86) = %~dp0 .dotnetcli \x86
7
+ SET DOTNET_ROOT = %~dp0 .dotnet
8
+ SET DOTNET_ROOT(x86) = %~dp0 .dotnet \x86
9
9
10
10
:: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use.
11
11
SET PATH = %DOTNET_ROOT% ;%PATH%
Original file line number Diff line number Diff line change 4
4
:: This command launches Visual Studio Code with environment variables required to use a local version of the .NET SDK.
5
5
6
6
:: This tells .NET to use the same dotnet.exe that the build script uses.
7
- SET DOTNET_ROOT = %~dp0 .dotnetcli
8
- SET DOTNET_ROOT(x86) = %~dp0 .dotnetcli \x86
7
+ SET DOTNET_ROOT = %~dp0 .dotnet
8
+ SET DOTNET_ROOT(x86) = %~dp0 .dotnet \x86
9
9
10
10
:: Put our local dotnet.exe on PATH first so Visual Studio Code knows which one to use.
11
11
SET PATH = %DOTNET_ROOT% ;%PATH%
You can’t perform that action at this time.
0 commit comments