您的位置:首页 > 产品设计 > UI/UE

处理编译错误"0" is an invalid value for the "DebugInformation" parameter of the "DCC"

2016-07-08 05:42 645 查看
在编译“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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: