Re: Designer load error
- From: "Mario Vázquez" <alguien@xxxxxxxxxxxxx>
- Date: Mon, 1 Jan 2007 23:05:54 +0100
Make sure you are adding references using the "Projects" tab in your
solution.
"Daniel Billingsley" <DanielBillingsley@xxxxxxxxxxxxxxxx> escribió en el
mensaje news:ugWVLRhIHHA.780@xxxxxxxxxxxxxxxxxxxxxxx
Ok, spending an hour a day doing the exit VS -> restart VS -> rebuild
project dance is getting REALLY old.
I have a perfectly good user control that I work in for an hour. I close
Visual Studio for whatever reason and start it back up to continue working
on the control only to be greeted with a nice error telling me the
designer can't find the file or assembly suchandsuch.dll.
I am editing a user control (CustomerEdit.cs) that contains another user
control (AddressEdit.cs). The error message references the embedded user
control and says it can't find the file or assembly that I used as the
DataSource on a BindingSource on AddressEdit.
There in fact isn't anything wrong with the references since I did nothing
since the last time it was working perfectly fine and the application will
still run perfectly fine in the debugger - it's just the forms designer
that's choking.
Finding the right magical combination of rebuilding the application in
between exit and restart of Visual Studio eventually does the trick, but
as there's no consistent pattern to that "fix" it literally eats up over
an hour a day. I've had this same error in several other cases. Usually
if I close the form in the designer before exiting VS I avoid this
problem, but even that isn't foolproof.
Am I the only one experiencing this fragility?
.
- Prev by Date: Re: Understand cicular referencing properties!
- Next by Date: Description Attribute in Class Library (DLL) ?
- Previous by thread: Re: Understand cicular referencing properties!
- Next by thread: Re: Designer load error
- Index(es):
Relevant Pages
|
Loading