Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

My visual studio crashed today and I had to restart the pc, now the project I was working on just wont compile. I get the following errors

 

Error 1 The item "obj\Debug\eMatrixAdminSystem.frmMainLayout.resources" was specified more than once in the "Resources" parameter. Duplicate items are not supported by the "Resources" parameter.

 

Error 104 'Private Sub InitializeComponent()' has multiple definitions with identical signatures.

 

How can I fix this, i've looked in the designer section of my form and the InitializeComponent method is only there once. Hope someone can help.

 

Thanks

  • Administrators
Posted

You could try deleting the obj folder and doing a build - sometimes that can fix this problem.

 

Other than that it might be that you project file has become corrupt and you have multiple lines refering to the eMatrixAdminSystem.frmMainLayout.resources file. If so it might be worth making a backup of the project file and commenting out the duplicate entries and then trying another build.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...