Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要对我的项目中的文件(我们的项目的输出)执行一些更新,并且我需要在生成部署包(zip 文件)之前执行此操作。
是否有在构建和打包阶段之间触发的构建目标?
不,没有“BeforePackage”构建目标。您可以使用AfterCompile目标。将 target 用于您的目的会更加hacky GenerateDocumentation,如果没有人覆盖目标的顺序,它将在打包之前出现。
AfterCompile
GenerateDocumentation