在Delphi XE2上使用MSBuild编译运行时程序包时出现编译器错误 [英] Compiler error when compiling runtime package using MSBuild on Delphi XE2

查看:91
本文介绍了在Delphi XE2上使用MSBuild编译运行时程序包时出现编译器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将构建服务器(Jenkins)升级到Delphi XE2。编译运行时程序包时,会发生以下错误:

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

此运行时程序包中没有图标或资源,所以我不知道该怎么做这个消息。什么是 vrc文件?

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?

感谢您的帮助。

推荐答案

在升级软件包的dproj文件时会发生这种情况。将创建该条目,但不会创建ico文件(无论如何都不会使用)。

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).

打开dproj文件,搜索ico名称并删除该条目。

Open the dproj file, search for the ico name and delete that entry.

这篇关于在Delphi XE2上使用MSBuild编译运行时程序包时出现编译器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆