Skip to content
代码片段 群组 项目
未验证 提交 e542cc4d 编辑于 作者: Kahbazi's avatar Kahbazi 提交者: GitHub
浏览文件

Fix startvs.cmd for path with space

上级 c0161c7e
No related branches found
No related tags found
无相关合并请求
...@@ -13,7 +13,7 @@ SET DOTNET_MULTILEVEL_LOOKUP=0 ...@@ -13,7 +13,7 @@ SET DOTNET_MULTILEVEL_LOOKUP=0
:: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use :: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use
SET PATH=%DOTNET_ROOT%;%PATH% SET PATH=%DOTNET_ROOT%;%PATH%
SET sln=%1 SET sln=%~1
IF "%sln%"=="" ( IF "%sln%"=="" (
echo Error^: Expected argument ^<SLN_FILE^> echo Error^: Expected argument ^<SLN_FILE^>
...@@ -27,4 +27,4 @@ IF NOT EXIST "%DOTNET_ROOT%\dotnet.exe" ( ...@@ -27,4 +27,4 @@ IF NOT EXIST "%DOTNET_ROOT%\dotnet.exe" (
exit /b 1 exit /b 1
) )
start %sln% start "" "%sln%"
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册