-
Mar 15th, 2025, 05:18 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Castrophic error for Design
I tried to place a background worker in my design, but it crashed the design. Now I have the following errors. I had 4 messages but I deleted 3 of the backgroundworker = new backgroundworker items from the designer file and those errors went away.
What does this last error mean?
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_Provider()
at Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.CodeDomDocDataAdapter.get_CompileUnit()
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSer ializationManager serializationManager)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)
EDIT: I could not see anything in the design, so I added more. This is how I ended up with 3 backgroundworkers.
-
Mar 15th, 2025, 11:13 PM
#2
Re: Castrophic error for Design
That's a VS bug. I suggest that you create a new project and try again to see whether the same thing happens. If it doesn't then it may be a one-off, so you may be able to simply revert that form and carry on. If the same thing does happen then your VS installation may be corrupt and you may have to perform a repair.
If you're not already, you ought to start using some form of source control. One of the advantages is that, when something like this goes awry, you can simply undo your changes and revert to the last known good state, or even a previous known good state if desired.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|