Phantom class ???

ALX

Well-known member
Joined
Nov 16, 2005
Messages
253
Location
Columbia, SC
Programming Experience
10+
I think VB.NET just likes to mess with me. I experience the strangest problems ! I had a form class that I deleted from my app some time ago. Recently I tried to create a new form class using the same name as the old "deleted" form. VB.NET popped up a message that the name was already in use and to choose a unique name. There is no reference to a class with this name in the Solution Explorer (as there shouldn't be since it was deleted), and I don't see any files in the directory that contain the name, but apparently, the name is lurking somewhere in VB's data that makes it think this class name is in use in this app.
Any ideas how to wipe this name out of VB.NET's mind (of it's own) ???
 
IF you right click on the solution, there's an option "Show All Files" ... it's turned off by default, but if you turn it on, you will see all files in the project folder, even if they are not included in the project.

-tg
 
TechGnome said:
if you turn it on, you will see all files in the project folder, even if they are not included in the project.
Didin't know that. :)
 
Yeppers... I use it all the time to view my SQL scripts w/o actualy having them sucked into the install.

-tg
 
ALX said:
I found it in the main menu under "Project". The demons are now gone.
Thanx....
That would suggest that you originally selected "Exclude form Project" rather than "Delete".
 
Back
Top