UserControls Vanished

P

putman

I am sure that this has come up here before, but the
Search is not working for me for this newsgroup.

I am working on a Windows Forms project where I have
created a number of usercontrols that I am using on
multiple forms. After editing one of the controls, when I
rebuilt the project all of the usercontrols on every form
disappeared and I am suddenly getting errors because the
code still references all of them.

The error says:

Could not find type 'Namespace.TypeName'. Please make sure
that the assembly that contains this type is referenced.
If this type is a part of your development project, make
sure that the project has been successfully built.

It looks like the following support article deals with
this issue... but what do I need to do to get the hotfix?
Do I have to call and pay for it? Does someone know a way
around this?

http://support.microsoft.com/default.aspx?scid=kb;en-
us;842706
 
G

Guest

-----Original Message-----
I am sure that this has come up here before, but the
Search is not working for me for this newsgroup.

I am working on a Windows Forms project where I have
created a number of usercontrols that I am using on
multiple forms. After editing one of the controls, when I
rebuilt the project all of the usercontrols on every form
disappeared and I am suddenly getting errors because the
code still references all of them.

The error says:

Could not find type 'Namespace.TypeName'. Please make sure
that the assembly that contains this type is referenced.
If this type is a part of your development project, make
sure that the project has been successfully built.

It looks like the following support article deals with
this issue... but what do I need to do to get the hotfix?
Do I have to call and pay for it? Does someone know a way
around this?

http://support.microsoft.com/default.aspx?scid=kb;en-
us;842706
.

well... I'll answer my own question.... kinda. I still
can't search the newsgroup, but I paged ahead many pages
and found a similar issue. Sounds like a lot of people
have seen this problem... that doesn't suprise me!

It looks like the best 'fix' is to close the designer
views of all these forms and recompile. Looks like that
puts everything back where it should be. Thank god... I
did not want to try to replace, rename, etc. all of these
controls! That would have been a nightmare!

-jputman
 
N

Nick

Are you using Visual Studio 2002? Because there was a known problem of
this happening. It has been fixed in 2003.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top