|
-
Oct 18th, 2007, 07:53 AM
#1
Thread Starter
Addicted Member
[2005] Compiler error
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
-
Oct 18th, 2007, 07:59 AM
#2
Re: [2005] Compiler error
You just Double Click the Error in the ErrorDetails List, You wil be redirected to Resouces Page.There you can see the declartion for the frmMainLayout.resources tag. Make sure there is only one entry. And do the same for the other error also
Please mark you thread resolved using the Thread Tools as shown
-
Oct 18th, 2007, 08:32 AM
#3
Thread Starter
Addicted Member
Re: [2005] Compiler error
If I double click the resources error nothing happens, the other one like you say takes me to the designer file, but there is only one initializecomponent. If I right click on it and select Find All References it still only finds the one.
Help!!!!!!
-
Oct 18th, 2007, 08:43 AM
#4
Re: [2005] Compiler error
You have a corrupted resource file. Close your project then delete (or to be safe, move instead) the bin and the obj folder. Reopen the project and build it.
-
Oct 18th, 2007, 09:34 AM
#5
Thread Starter
Addicted Member
Re: [2005] Compiler error
 Originally Posted by stanav
You have a corrupted resource file. Close your project then delete (or to be safe, move instead) the bin and the obj folder. Reopen the project and build it.
Hi, thanks
I renamed the folders, built it, it recreated the folders but the errors remain??
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|