如何只为调试版本运行Visual Studio生成后事件 - How to run Visual Studio post-build events for debug build only

问题:

How can I limit my post-build events to running only for one type of build? 如何将构建后事件限制为仅针对一种构建类型运行? I'm using the events to copy DLLs to a local IIS virtual directory but I don't want this happening on the build server in release mode. 我正在使用事件将DLL复制到本地IIS虚拟目录,但我不但愿在发布模式下的生成服务器上发生这种状况。 服务器


解决方案:

参考一: https://stackoom.com/question/d2D/如何只为调试版本运行Visual-Studio生成后事件
参考二: https://oldbug.net/q/d2D/How-to-run-Visual-Studio-post-build-events-for-debug-build-only
相关文章
相关标签/搜索