Ai
1 Star 0 Fork 0

anydev/dotnet-minimal-api-integration-testing

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
startvs.cmd 691 Bytes
一键复制 编辑 原始数据 按行查看 历史
martincostello 提交于 2022-02-18 05:21 +08:00 . Add scripts to load IDEs with local .dotnet
@ECHO OFF
SETLOCAL
:: This command launches a Visual Studio solution with environment variables required to use a local version of the .NET SDK.
:: This tells .NET to use the same dotnet.exe that the build script uses.
SET DOTNET_ROOT=%~dp0.dotnetcli
SET DOTNET_ROOT(x86)=%~dp0.dotnetcli\x86
:: Put our local dotnet.exe on PATH first so Visual Studio knows which one to use.
SET PATH=%DOTNET_ROOT%;%PATH%
SET sln=%~dp0TodoApp.sln
IF NOT EXIST "%DOTNET_ROOT%\dotnet.exe" (
echo The .NET SDK has not yet been installed. Run `%~dp0build.ps1` to install it
exit /b 1
)
IF "%VSINSTALLDIR%" == "" (
start "" "%sln%"
) else (
"%VSINSTALLDIR%\Common7\IDE\devenv.com" "%sln%"
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/anydev/dotnet-minimal-api-integration-testing.git
git@gitee.com:anydev/dotnet-minimal-api-integration-testing.git
anydev
dotnet-minimal-api-integration-testing
dotnet-minimal-api-integration-testing
dotnet-vnext

搜索帮助