標籤:
在編譯“MustangpeakCommonLib-master.zip”時,遇到了這個問題。網上搜了一下:
處理編譯錯誤"0" is an invalid value for the "DebugInformation" parameter of the "DCC"[摘要:正在裝置一個從XE6複造到XE4的控制項時湧現編譯毛病: [MSBuild Error] 0 is an invalid value for the DebugInformation parameter of the DCC task. The DebugInformation parameter is of type System.Boolean. 正在XE6下編譯裝置好好]
在安裝一個從XE6複製到XE4的控制項時出現編譯錯誤:
[MSBuild Error] "0" is an invalid value for the "DebugInformation" parameter of the "DCC" task. The "DebugInformation" parameter is of type "System.Boolean".
在XE6下編譯安裝好好的,delphi xe4你這是又要鬧哪樣咯?
還好編譯提示非常詳細,循著DebugInformation一項仔細查看編譯選項,發現裡邊Compiling -> Debugging -> Debug infomation一項的值竟然是0(正常情況只能取boolean值的),於是選為false,再次編譯,發現正常了。
可能是兩個IDE環境不同,對工程檔案的解析不一致造成的?Delphi你這又是要鬧哪樣咯?!
http://www.ithao123.cn/content-5777917.html 然後嘗試在IDE裡改,沒有效果。只好直接開啟用編輯器直接MPCommonLibD.dproj,把0改成False就行了。估計是開發人員使用的IDE版本過高造成的,我這2010不認識0.
處理編譯錯誤"0" is an invalid value for the "DebugInformation" parameter of the "DCC"