命令:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\amd64\MSBuild.exe" WebApi\WebApi.csproj "-t:Rebuild" "/P:DeployOnBuild=True;WarningLevel=0;PublishProfile=IISProfile;UserName=IIS的授权账号;Password=密码;PreBuildEvent=;PostBuildEvent=xcopy 完整路径文件夹 文件夹 /y /e /i /q"