当我在VSCode中发布我的asp应用程序时,我使用的命令是
dotnet publish -c release -o Z:\inetpub\wwwroot\Tools
有没有办法将这个命令设置为默认的发布命令,这样我就不需要每次在终端中输入它了?
当我在VSCode中发布我的asp应用程序时,我使用的命令是
dotnet publish -c release -o Z:\inetpub\wwwroot\Tools
{
"version": "2.0.0",
"tasks": [
{
"taskName": "publish",
"type": "shell",
"command": "dotnet publish",
"args": [
"-c", "release",
"-o", "Z:\inetpub\wwwroot\Tools"
],
"presentation": {
"reveal": "always",
"panel": "new"
}
},
]
}