如何只爲調試版本運行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
相關文章
相關標籤/搜索