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

在安装一个从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你这又是要闹哪样咯?!

你可能感兴趣的:(工具使用,Delphi)