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.
可能重复: 如何仅为调试构建运行 Visual Studio 构建后事件
我想在将我的项目编译为 Release 时执行 postbuild 命令。如果设置了 Debug,则不应执行这些 Postbuild。这个怎么做?Visual Studio 对所有配置使用相同的 Pre-和 Postbuild