Skip to content

Commit 13e009d

Browse files
Update startvs/startvscode scripts to use ".NET" terminology (#64410)
* Initial plan * Replace ".NET Core" with ".NET" in startvs/startvscode scripts Co-authored-by: adityamandaleeka <219224+adityamandaleeka@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: adityamandaleeka <219224+adityamandaleeka@users.noreply.github.com>
1 parent c07e28b commit 13e009d

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

src/ProjectTemplates/scripts/startvs.cmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
@ECHO OFF
22
SETLOCAL
33

4-
:: This command launches a Visual Studio solution with environment variables required to use a local version of the .NET Core SDK.
4+
:: This command launches a Visual Studio solution with environment variables required to use a local version of the .NET SDK.
55

6-
:: This tells .NET Core to use the same dotnet.exe that build scripts use
6+
:: This tells .NET to use the same dotnet.exe that build scripts use
77
SET DOTNET_ROOT=%~dp0\.dotnet
88
SET DOTNET_ROOT(x86)=%~dp0\.dotnet\x86
99

10-
:: This tells .NET Core not to go looking for .NET Core in other places
10+
:: This tells .NET not to go looking for .NET in other places
1111
SET DOTNET_MULTILEVEL_LOOKUP=0
1212

1313
:: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use
@@ -23,7 +23,7 @@ IF "%sln%"=="" (
2323
)
2424

2525
IF NOT EXIST "%DOTNET_ROOT%\dotnet.exe" (
26-
echo .NET Core has not yet been installed. Run `%~dp0restore.cmd` to install tools
26+
echo .NET has not yet been installed. Run `%~dp0restore.cmd` to install tools
2727
exit /b 1
2828
)
2929

startvs.cmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
@ECHO OFF
22
SETLOCAL
33

4-
:: This command launches a Visual Studio solution with environment variables required to use a local version of the .NET Core SDK.
4+
:: This command launches a Visual Studio solution with environment variables required to use a local version of the .NET SDK.
55

6-
:: This tells .NET Core to use the same dotnet.exe that build scripts use
6+
:: This tells .NET to use the same dotnet.exe that build scripts use
77
SET DOTNET_ROOT=%~dp0.dotnet
88
SET DOTNET_ROOT(x86)=%~dp0.dotnet\x86
99

10-
:: This tells .NET Core not to go looking for .NET Core in other places
10+
:: This tells .NET not to go looking for .NET in other places
1111
SET DOTNET_MULTILEVEL_LOOKUP=0
1212

1313
:: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use
@@ -23,7 +23,7 @@ IF "%sln%"=="" (
2323
)
2424

2525
IF NOT EXIST "%DOTNET_ROOT%\dotnet.exe" (
26-
echo .NET Core has not yet been installed. Run `%~dp0restore.cmd` to install tools
26+
echo .NET has not yet been installed. Run `%~dp0restore.cmd` to install tools
2727
exit /b 1
2828
)
2929

startvscode.cmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
@ECHO OFF
22
SETLOCAL
33

4-
:: This command launches a Visual Studio Code with environment variables required to use a local version of the .NET Core SDK.
4+
:: This command launches a Visual Studio Code with environment variables required to use a local version of the .NET SDK.
55

6-
:: This tells .NET Core to use the same dotnet.exe that build scripts use
6+
:: This tells .NET to use the same dotnet.exe that build scripts use
77
SET DOTNET_ROOT=%~dp0.dotnet
88
SET DOTNET_ROOT(x86)=%~dp0.dotnet\x86
99

10-
:: This tells .NET Core not to go looking for .NET Core in other places
10+
:: This tells .NET not to go looking for .NET in other places
1111
SET DOTNET_MULTILEVEL_LOOKUP=0
1212

1313
:: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use
@@ -19,7 +19,7 @@ SET TARGET=net10.0
1919
SET folder=%~1
2020

2121
IF NOT EXIST "%DOTNET_ROOT%\dotnet.exe" (
22-
echo .NET Core has not yet been installed. Run `%~dp0restore.cmd` to install tools
22+
echo .NET has not yet been installed. Run `%~dp0restore.cmd` to install tools
2323
exit /b 1
2424
)
2525

startvscode.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env bash
22

3-
# This command launches a Visual Studio code with environment variables required to use a local version of the .NET Core SDK.
3+
# This command launches a Visual Studio code with environment variables required to use a local version of the .NET SDK.
44

5-
# This tells .NET Core to use the same dotnet.exe that build scripts use
5+
# This tells .NET to use the same dotnet.exe that build scripts use
66
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
77
export DOTNET_ROOT="$DIR/.dotnet"
88

9-
# This tells .NET Core not to go looking for .NET Core in other places
9+
# This tells .NET not to go looking for .NET in other places
1010
export DOTNET_MULTILEVEL_LOOKUP=0
1111

1212
# Put our local dotnet on PATH first so Visual Studio knows which one to use
@@ -16,7 +16,7 @@ export PATH="$DOTNET_ROOT:$PATH"
1616
export TARGET=net10.0
1717

1818
if [ ! -f "$DOTNET_ROOT/dotnet" ]; then
19-
echo ".NET Core has not yet been installed. Run `./restore.sh` to install tools."
19+
echo ".NET has not yet been installed. Run `./restore.sh` to install tools."
2020
exit 1
2121
fi
2222

0 commit comments

Comments
 (0)