From 052b32fab239bcb69763fb662f6483e9e088ef6f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 17 Nov 2025 23:29:25 +0000 Subject: [PATCH 1/2] Initial plan From b9ec75d0d01b641cc13e2f5338f4bb36dbde6f7e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 17 Nov 2025 23:35:29 +0000 Subject: [PATCH 2/2] Replace ".NET Core" with ".NET" in startvs/startvscode scripts Co-authored-by: adityamandaleeka <219224+adityamandaleeka@users.noreply.github.com> --- src/ProjectTemplates/scripts/startvs.cmd | 8 ++++---- startvs.cmd | 8 ++++---- startvscode.cmd | 8 ++++---- startvscode.sh | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/ProjectTemplates/scripts/startvs.cmd b/src/ProjectTemplates/scripts/startvs.cmd index 5229f91fdd6f..7a18c1f525bf 100644 --- a/src/ProjectTemplates/scripts/startvs.cmd +++ b/src/ProjectTemplates/scripts/startvs.cmd @@ -1,13 +1,13 @@ @ECHO OFF SETLOCAL -:: This command launches a Visual Studio solution with environment variables required to use a local version of the .NET Core SDK. +:: This command launches a Visual Studio solution with environment variables required to use a local version of the .NET SDK. -:: This tells .NET Core to use the same dotnet.exe that build scripts use +:: This tells .NET to use the same dotnet.exe that build scripts use SET DOTNET_ROOT=%~dp0\.dotnet SET DOTNET_ROOT(x86)=%~dp0\.dotnet\x86 -:: This tells .NET Core not to go looking for .NET Core in other places +:: This tells .NET not to go looking for .NET in other places SET DOTNET_MULTILEVEL_LOOKUP=0 :: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use @@ -23,7 +23,7 @@ IF "%sln%"=="" ( ) IF NOT EXIST "%DOTNET_ROOT%\dotnet.exe" ( - echo .NET Core has not yet been installed. Run `%~dp0restore.cmd` to install tools + echo .NET has not yet been installed. Run `%~dp0restore.cmd` to install tools exit /b 1 ) diff --git a/startvs.cmd b/startvs.cmd index b3572e97482b..93cbc52d6c4a 100644 --- a/startvs.cmd +++ b/startvs.cmd @@ -1,13 +1,13 @@ @ECHO OFF SETLOCAL -:: This command launches a Visual Studio solution with environment variables required to use a local version of the .NET Core SDK. +:: This command launches a Visual Studio solution with environment variables required to use a local version of the .NET SDK. -:: This tells .NET Core to use the same dotnet.exe that build scripts use +:: This tells .NET to use the same dotnet.exe that build scripts use SET DOTNET_ROOT=%~dp0.dotnet SET DOTNET_ROOT(x86)=%~dp0.dotnet\x86 -:: This tells .NET Core not to go looking for .NET Core in other places +:: This tells .NET not to go looking for .NET in other places SET DOTNET_MULTILEVEL_LOOKUP=0 :: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use @@ -23,7 +23,7 @@ IF "%sln%"=="" ( ) IF NOT EXIST "%DOTNET_ROOT%\dotnet.exe" ( - echo .NET Core has not yet been installed. Run `%~dp0restore.cmd` to install tools + echo .NET has not yet been installed. Run `%~dp0restore.cmd` to install tools exit /b 1 ) diff --git a/startvscode.cmd b/startvscode.cmd index b70e43831bd4..c609b5cea6eb 100644 --- a/startvscode.cmd +++ b/startvscode.cmd @@ -1,13 +1,13 @@ @ECHO OFF SETLOCAL -:: This command launches a Visual Studio Code with environment variables required to use a local version of the .NET Core SDK. +:: This command launches a Visual Studio Code with environment variables required to use a local version of the .NET SDK. -:: This tells .NET Core to use the same dotnet.exe that build scripts use +:: This tells .NET to use the same dotnet.exe that build scripts use SET DOTNET_ROOT=%~dp0.dotnet SET DOTNET_ROOT(x86)=%~dp0.dotnet\x86 -:: This tells .NET Core not to go looking for .NET Core in other places +:: This tells .NET not to go looking for .NET in other places SET DOTNET_MULTILEVEL_LOOKUP=0 :: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use @@ -19,7 +19,7 @@ SET TARGET=net10.0 SET folder=%~1 IF NOT EXIST "%DOTNET_ROOT%\dotnet.exe" ( - echo .NET Core has not yet been installed. Run `%~dp0restore.cmd` to install tools + echo .NET has not yet been installed. Run `%~dp0restore.cmd` to install tools exit /b 1 ) diff --git a/startvscode.sh b/startvscode.sh index 65ab4fc43599..d6328dfb5967 100755 --- a/startvscode.sh +++ b/startvscode.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash -# This command launches a Visual Studio code with environment variables required to use a local version of the .NET Core SDK. +# This command launches a Visual Studio code with environment variables required to use a local version of the .NET SDK. -# This tells .NET Core to use the same dotnet.exe that build scripts use +# This tells .NET to use the same dotnet.exe that build scripts use DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export DOTNET_ROOT="$DIR/.dotnet" -# This tells .NET Core not to go looking for .NET Core in other places +# This tells .NET not to go looking for .NET in other places export DOTNET_MULTILEVEL_LOOKUP=0 # Put our local dotnet on PATH first so Visual Studio knows which one to use @@ -16,7 +16,7 @@ export PATH="$DOTNET_ROOT:$PATH" export TARGET=net10.0 if [ ! -f "$DOTNET_ROOT/dotnet" ]; then - echo ".NET Core has not yet been installed. Run `./restore.sh` to install tools." + echo ".NET has not yet been installed. Run `./restore.sh` to install tools." exit 1 fi