I am currently working with a ASP.NET Web site project in Visual Studio 2008 and everytime I make a change to code behind page for a user control and browse to page that is using the user contorl I get the following error:
Unable to cast object of type 'ASP.basepage_master' to type 'ASP.basepage_master'.
I have to rebuild my entire solution to order to resolve this error. Has anyone else experienced this error and do they know how to resolve it?
Deleting your temporary ASP.NET files (everything in C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files) makes this go away... for a while.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With