I am experiencing an annoyance I hope someone can help alleviate. After I compile an assembly that contains a web control, the web forms designer gives an error creating the control and I have to restart Visual Studio to regain design-time support. It is some versioning problem and I assume I have to clear some assembly cache in order to fix it. This will avoid the constant restarts, which gets on my nerves fast.
I have two projects...a web site using my local file system and a class library that contains a web control. The web site references the control library using a project reference and the control is declared in a web page. The designer works perfectly until I recompile the control library. Then it gives me an "Error Creating Control" message. The specific message it gives is an error setting a property value (the property type doesn't match). This conflict tells me that the web forms designer is referencing the old DLL. Currently I need to restart VS and I'm cool again. Also closing the web page or switching between markup and design view doesn't help.
This is so obviously a bug and as a control developer it puts a dent in my productivity. Rather than report it as a bug and wait forever hoping it will be fixed, does anyone know of a way I can fix this?
Thanks!