Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Pilch <kevinpi@microsoft.com>2020-09-10 07:10:39 +0300
committerGitHub <noreply@github.com>2020-09-10 07:10:39 +0300
commitd7c1d51b4a67df1ff8a141ca7040864ae86feb4d (patch)
tree08c09202333c45286c6ed99e202793574b94270a /startvs.cmd
parent8e299232e39b7b656c1d224d2d29805c905c96e3 (diff)
Use VS from env if specified (#25749)
Diffstat (limited to 'startvs.cmd')
-rw-r--r--startvs.cmd6
1 files changed, 5 insertions, 1 deletions
diff --git a/startvs.cmd b/startvs.cmd
index c9613224fc..b3572e9748 100644
--- a/startvs.cmd
+++ b/startvs.cmd
@@ -27,4 +27,8 @@ IF NOT EXIST "%DOTNET_ROOT%\dotnet.exe" (
exit /b 1
)
-start "" "%sln%"
+IF "%VSINSTALLDIR%" == "" (
+ start "" "%sln%"
+) else (
+ "%VSINSTALLDIR%\Common7\IDE\devenv.com" "%sln%"
+)