问题
I am in the process of upgrading our build server (Jenkins) to Delphi XE2. While compiling a runtime package the following error occurs:
ComponentsR.vrc(61): error RC2135: file not found: ComponentsR_Icon4.ico
There are no icons or resources in this runtime package, so I don't know what to do with this message. What's the "vrc" file btw?
Thanks for your help.
回答1:
This happens while upgrading the dproj file of a package. The entry is created but the ico file is not (it is not used anyway).
Open the dproj file, search for the ico name and delete that entry.
来源:https://stackoverflow.com/questions/13413267/compiler-error-when-compiling-runtime-package-using-msbuild-on-delphi-xe2