我想在構建後事件中使用條件式或OR,但到目前爲止,我沒有運氣。以下不工作: if not "$(ConfigurationName)" == "Debug" or not "$(ConfigurationName)" == "Release" ( 但這個工程: if not "$(ConfigurationName)" == "Debug" ( 有了第一個,我得到一個存在代碼4.
我正在尋找與我的問題類似但沒有結果的任何東西的stackoverflow。 It seems that my VS started to completely ignore post-build events.
Post-build events are not triggered in any project or solution I open
or create using my VS
我在Visual Studio中的項目2010年 該項目具有以下生成後事件命令行: SET TARGET_PROJECT=TestMain
IF NOT EXIST "$(TargetDir)IceBox" (
XCOPY /E /I /Y "$(SolutionDir)Externals\IceBox" "$(TargetDir)IceBox"
)
IF NOT EXIST "$(