Click here to Skip to main content
15,880,392 members
Articles / Desktop Programming / MFC
Tip/Trick

Solve CVT1100: duplicate resource. type:MANIFEST issue in Visual Studio for MFC/C++

Rate me:
Please Sign up or sign in to vote.
4.67/5 (18 votes)
2 Sep 2011CPOL 60.2K   3   7
Solve the CVT1100 error.
fatal error CVT1100: duplicate resource.  type:MANIFEST, name:1, language:0x0409

If you ever encounter this error while compiling (usually a downloaded project from internet), then remove the manifest file and remove the reference to the manifest file in the .rc file.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead Kotha Technologies
Bangladesh Bangladesh
If you are not in - you are out !
- Chapter 1

Comments and Discussions

 
QuestionDoing that creates another error Pin
alan9315-Jun-19 7:26
alan9315-Jun-19 7:26 
QuestionLinker options for manifest file Pin
David Luca28-Nov-14 5:54
professionalDavid Luca28-Nov-14 5:54 
GeneralMy vote of 4 Pin
littlewater14-Sep-13 22:42
littlewater14-Sep-13 22:42 
GeneralRe: My vote of 4 Pin
Mukit, Ataul27-Sep-13 6:08
Mukit, Ataul27-Sep-13 6:08 
QuestionBut *WHY*? Pin
Synetech17-Jul-13 5:43
Synetech17-Jul-13 5:43 
GeneralMy vote of 5 Pin
Ghasrfakhri30-May-13 20:59
Ghasrfakhri30-May-13 20:59 
QuestionYou may also need to fix conflicting resource ID's ... Pin
Bob100021-Feb-13 4:46
professionalBob100021-Feb-13 4:46 
Nearly the solution!

The error is often cause by two resources having the same resource ID

i.e. the same source resource (.rc) values in a (downloaded) library as in your main application.

This needs to be fixed by making sure any included resources (from a library) do not conflict with your main program resources. A quick edit of the ID numbers will fix the problem (don't forget to alter the next issue number at bottom to the resource file!),

For our own libraries we ensure they all use different ranges to the main application.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.