469,626 Members | 1,043 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

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

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
luck:

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?

Thanks
Nov 18 '05 #1
0 1880

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by cppaddict | last post: by
9 posts views Thread by Javaman59 | last post: by
reply views Thread by Henri | last post: by
1 post views Thread by A. Nonymous | last post: by
1 post views Thread by Dominique Vandensteen | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.