Link to home
Start Free TrialLog in
Avatar of Kaprice
KapriceFlag for United States of America

asked on

Visual Studio 2010: Unable to create a manifest resource name

I'm an experienced VBA developer but fairly new to Visual Studio. I've got a Visual Basic project.

I copied an existing form from the Solution Explorer and renamed it to "FrmList".

I realized I copied the wrong form, so I deleted that and copied and renamed a different form. At the time, I did not know about "Exclude From Project", so I just selected and hit Delete.

When I ran the app, I get the following 3 errors:

Error      1      Unable to create a manifest resource name for "FrmList.resx". Could not find file 'E:\@Projects\Hero App\Hero\Hero\FrmList.vb'.      Hero


Error      2      Unable to open module file 'E:\@Projects\Hero App\Hero\Hero\FrmList.Designer.vb': The system cannot find the file specified.       E:\@Projects\Hero App\Hero\Hero\FrmList.Designer.vb      1      1      Hero

Error      3      Unable to open module file 'E:\@Projects\Hero App\Hero\Hero\FrmList.vb': The system cannot find the file specified.       E:\@Projects\Hero App\Hero\Hero\FrmList.vb      1      1      Hero

I've done a Ctl+F search for the form name across the entire solution and "FrmList does not show up.

I'm totally stuck. Any suggestions?
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kaprice

ASKER

Yes, I had done all that within VS.

But, opening the vbproj file and searching for and deleting all references to the form name solved the problem. WHEW!

I assume it's not normally a problem to copy and rename a form in VS?
No its not. But deleting the form should have updated the project file. May be doing a Save All would do that.
Avatar of Kaprice

ASKER

That's probably what I did wrong. I deleted, got the error and then closed w/o saving. I thought I'd get back to the state prior to the copy/paste/delete. But, I guess not.

Thanks so much!
Avatar of Kaprice

ASKER

Thanks!
Glad to help :-)