我在 Visual Studio Team Services(以前的 Visual Studio Online)中有一个自动构建。该解决方案正在正确构建。如何配置它以便它也可以创建一个 Web 部署包?
最佳答案
我们使用以下 MSBuild 参数:/p:DeployOnBuild=true/p:WebPublishMethod=Package/p:PackageAsSingleFile=true/p:SkipInvalidConfigurations=true/p:PackageLocation="$(build.artifactstagingdirectory)\\"
使用这些,您无需创建新的发布配置文件。
https://stackoverflow.com/questions/35322311/
相关文章:
xcode - 如何将编译源中的文件从一个目标复制并粘贴到另一个目标?
python - LLVM clang 的 CMake 构建失败并显示 "Unexpected fa
build - Gradle:如何为需要相同 Activity 但具有不同意图过滤器的不同 buil
makefile - cmake和并行构建与 "make -jN"
time - Jenkins——使用 "Build Time Trend"获取 "Remote Ac
linux - 在 Debian 或 Ubuntu 下自动获取构建依赖项的 Debian 方式是什么