2010. 4. 24. 17:07
1>Linking...
1>CVTRES : fatal error CVT1100: duplicate resource.  type:MANIFEST, name:1, language:0x0409
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

위 에러가 났을때 발견한 두가지 해법.


1.
I dealt with this error in a Code Project sample by commenting out the resource file manifest. Turning off the embedded manifest in the project settings allowed the project to build, but at run time it was unable to find ATL80.dll.
Commenting the line
1                       RT_MANIFEST             "res\\TestApp.manifest"

그냥 간단히 말해 해당 프로젝트의 .rc 파일에 RT_MANIFEST 가 들어가있는 행을 찾아 주석처리한다.

2.
Project property -> Manifest Tool -> Input and Output -> Embed Manifest : yes -> no
Posted by envi