代码拉取完成,页面将自动刷新
#!/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 tells .NET Core 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
export DOTNET_MULTILEVEL_LOOKUP=0
# Put our local dotnet on PATH first so Visual Studio knows which one to use
export PATH="$DOTNET_ROOT:$PATH"
# Sets TFW for Visual Studio Code usage
export TARGET=net8.0
if [ ! -f "$DOTNET_ROOT/dotnet" ]; then
echo ".NET Core has not yet been installed. Run `./restore.sh` to install tools."
exit 1
fi
if [[ $1 == "" ]]; then
code .
else
code $1
fi
exit 1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。