Compiler error

Mondeo

Centurion
Joined
Nov 10, 2006
Messages
128
Location
Sunny Lancashire
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
 
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.
 
Back
Top