Greetings,
I am experiencing a problem similar to that mentioned in <a
href="http://groups-beta.google.com/group/microsoft.public.dotnet.languages.vb/browse_thread/thread/a4ca8746b3de09c2/3a24082f15010830?q=controls+vanishing&rnum=1#3a240 82f15010830">this
post</a>, which is too old for me to respond to. Does anyone have any
additional information?
I am using VB.Net 2003. The Solution has two projects: one is a library
project, which contains amoung other things a user control. The other
project is for an executable application which uses the user control.
The problem is that the user control will periodically vanish, and my
task list will complain that it can't find the assembly, telling me to
check my references. But the references are fine, and the executable
project has no difficulty seeing non-control classes in the library
project.
The only way I've found to fix this issue is the same one the poster in
the link above mentions: manually delete the code from the
generated-code section, and drop the control back in. Sometimes there
are still odd errors after I do this, and I need to create a new
source-code file, copy the old non-generated code into it, and then add
the control. I have not found a way to prevent it from vanishing in the
first place.
Does anyone have any information on what causes this and how to prevent
it? It's causing a major snag in my development.
Thanks,
Linda