By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,214 Members | 2,038 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,214 IT Pros & Developers. It's quick & easy.

value of type "MyNamespace.MyClassName" cannot be converted to "MyNamespace.MyClassName"

P: n/a
I have a ASP.Net application that uses assemblies from several other
solutions. When testing the applications on my machine I build all the
referenced assemblies using nmake. The latest assemblies get placed in
a common directory that is referenced by my ASP.NET app.

Occasionally I receive the following error: value of type
"MyNamespace.MyClassName" cannot be converted to
"MyNamespace.MyClassName" (there are a lot of these for different
classes) when doing a debug build. I have tried the following with no

Build the ASP.Net application
Rebuild the ASP.Net application
Close VS and build the ASP.Net application
Close VS.Net as rebuild the asp.Net application
IISreset and build/rebuild the application

It seems the only thing that works is if I run nmake to build all my
referenced assemblies, I can then build the ASP.Net application.

Any ideas as to what causes this? Is there an easier way to fix it?

Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.