(引)The item "obj/Debug/xxx.resources" was specified more than once the "Resources
来源:互联网 发布:python url发送 编辑:程序博客网 时间:2024/05/22 00:21
用VS 2008开发项目时遇到这个问题,编译不通过,报错如下:
Error 1 The item "obj/Debug/WWPI_AeroFoil_TooBox.Form_Translate.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter. WWPI_AeroFoil_TooBox
网上搜寻了很长时间,终于找到一个好的解决办法:
(以下内容引自:http://hi.baidu.com/laizhij/blog/item/c6dc0754b9ea84123a293501.html)
报错原因:有两个form外观类似,设计完第一个form后,在solution explorer中直接复制粘贴了这个form,并把它改名为另一个form并在这个基础上根据需要修改界面元素。但是!!殊不知!界面UI的代码并没有完全按照你的意图做所有必要的更改,其中最重要的就是,类名没有更改!也就是说,按照上面说的操作的结果是,在项目中又两个名字一样的partial class。结果导致了如上的报错。
解决办法:想办法把第二个form的代码中的类名改成需要的类名。注意!有多个文件,整个项目的所有地方都需要更改!
或者,别偷懒,不要复制粘贴,乖乖地依葫芦画瓢,按照正常操作设计第二个form
- (引)The item "obj/Debug/xxx.resources" was specified more than once the "Resources
- warning LNK4042: The same object file was specified more than once
- Column specified more than once in the INSERT list.
- The object or library file 'xxx.obj' was created with an older compiler than other obj
- 【xcode】错误之Certificate identity 'iPhone Developer: XXX' appears more than once in the keychain
- CodeSign error: Certificate identity 'iPhone Developer:xxx appears more than once in the keychain.
- Resources on the Internet
- The Best BootStrap Resources
- The Best BootStrap Resources
- the resources of meteor
- more than one row with the given identifier was found
- appears more than once in the keychain. The codesign tool requires there onl
- appears more than once in the keychain The codesign tool requires there only be one
- error "flag 'tab_complete_word' was defined more than once caffe
- arcplan出现 Attempt to initialize the CRT more than once错误
- 解决 YUM Repository updates is listed more than once in the configuration 的问题
- 【Xcode】Certificate identity 'iPhone Developer: XXXXXXXX' appears more than once in the keychain
- The interface EntityDao cannot be implemented more than once with different arguments: EntityDao<Sit
- Dojo 的 textArea onChange 事件
- mysql创建用户命令
- NIO学习系列:核心概念及基本读写
- DOS命令大全(经典收藏)
- oralce 10g 安装遇到的怪异问题
- (引)The item "obj/Debug/xxx.resources" was specified more than once the "Resources
- 让 DLL 卸载自身
- PJSIP介绍
- 在CentOS 5.5中安装Oracle 10g
- can收发问题
- dataGridView1 报DataError 错误 解决办法
- 大中华地区的商业IMAX影院(更新至2010年7月)
- VS2005 DEBUG状态下修改代码(VS2005 使用技巧)
- for循环问题