如何在 Visual Studio 2010 Ultimate 中解决 CVT1100? [英] How to resolve CVT1100 in Visual Studio 2010 Ultimate?

查看:48
本文介绍了如何在 Visual Studio 2010 Ultimate 中解决 CVT1100?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个使用 qmake 生成 Visual Studio 2005 项目文件的中型项目.我正在尝试在 Visual Studio 2010 Ultimate 下构建它.由于 qmake 不支持此 IDE,因此我使用提供的转换助手来转换我的解决方案.

I'm working on a medium-sized project which uses qmake to generate Visual Studio 2005 project files. I'm trying to get it built under Visual Studio 2010 Ultimate. Since qmake doesn't support this IDE yet i had the provided conversion assistant convert my solution.

尝试构建时,在子项目之一中出现以下错误:

When trying to build I get the following error in one of the subprojects:

CVTRES:致命错误 CVT1100:重复资源.类型:版本,名称:1,语言:0x0407

CVTRES : fatal error CVT1100: duplicate resource. type:VERSION,name:1,language:0x0407

在 Google 的结果告诉我之后,似乎在迁移到较新版本的 Visual Studio 时可能会发生此错误,但我不知道为什么,建议的 hack 对我不起作用.

After what Google's results told me it seems that this error is likely to occur when migrating to a newer version of Visual Studio but I don't know why and the hacks recommended there don't work for me.

我已经尝试过将资源重命名为随机数,甚至在每次出现版本信息时都使用不同的名称".当我在阅读错误并删除相应的 .RC 文件后再次构建项目时,它会工作一次.但这太过分了.

What I already tried is to rename the ressources to random numbers, even a different "name" at every occurence of the version information. When I build the project again after reading the error and deleting the corresponding .RC-file it works once. But that's too much of a hack.

任何人有任何想法吗?提前致谢.

Any ideas anyone? Thanks in advance.

推荐答案

我在从 VC++ 2010 迁移到 2012 时解决了该问题,方法是将 Configuration Properties>Manifest Tool>Input and Output>Embed Manifest 下的设置更改为 NO.我不知道这是怎么回事,但我查看了 .manifest 文件的内容,看起来我可以在没有嵌入的情况下生活.

I resolved that problem when moving from VC++ 2010 to 2012 by changing the setting under Configuration Properties>Manifest Tool>Input and Output>Embed Manifest to NO. I have no idea what that is all about, but I looked at the contents of the .manifest file, and it sure looks like I can live without it being embedded.

这篇关于如何在 Visual Studio 2010 Ultimate 中解决 CVT1100?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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