Could not load type

G

Guest

Hi,
I'm facing very peculiar problem related to loading of a type. In my web
project I've many folders catagorized based on business logic.
The problem is Framework loads the assembly and loads the type for some
namespaces but fails to load for some. I'm not sure what going on. I looked
into the assemblies manifest and everything seems ok. I've rebuild the
project for many times but of no use.

Not sure what I need to do load my remaining types.
Thanks in advance for your help.
Regards,
Dheeraj
 
C

CT

What types of errors are you getting, compiletime and/or runtime? Can you
give us the error message(s) as well?
 
G

Guest

Thanks Carsten,
I got the solution. Actually some of the business logic folder under the
main one also have their own project files which I had created to test them
individually which resulted in creation of "bin" folder for that project.
Obviously that bin folder contains the assembly for that project. So when I
tried to build the main assembly which includes my subfolder project also I
started geting the Type Load exception. Which was obvious as the framewirk
was not sure about from where to load the type as the type was present at two
bin location one for main folder and the other inside the subfolder for which
I had created the assembly before.
Anyway I really appreciate there are people on this earth who love to share
their knowledge with others. I salute you for that.
Thanks deep from my heart.
Dheeraj
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top