處理編譯錯誤"0" is an invalid value for the "DebugInformation" parameter of the "DCC"

來源:互聯網
上載者:User

標籤:

在編譯“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"

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.