Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Form Controls Disappeared
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Windows Form Controls Disappeared
Divers
Thread ID:
00867661
Message ID:
00867661
Vues:
54
I am having this problem second time and it drives me crazy. I have a library with my controls as a project in my solution. I added a new control which gave me an error if I built this library project. Instead of Build I accidentally chose Rebuild option. This option rebuilt my whole solution. It looks like the error in the library project did not let the main project recognize the library. All the library’s controls disappeared from the forms in the main project. Fixing the error in the library project does not bring them back. I have to manually drop the controls from my toolbox. Even worse, declarations of the controls remain in the code and I cannot name the controls without deleting the old code.
I had this problem before when I tried to add a new control from the library to my toolbox. I suspect that the version synchronization has been broken, but don’t know how to avoid that. My main project has a reference to the library project. Why the This.Control.Add() commands vanished instead of just giving errors? Is there more intelligent way to avoid such disaster?

Thanks in advance

Slava
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform