I created a Solution with 4 projects in it. 1 Console Application and 3 Class Libraries.
Console App Name : MyProject (Dependencies on Common and Domain and Logic)
Class Library 1 : MyProject.Logic (Dependencies on Common and Domain)
Class Library 2 : MyProject.Domain
Class Library 3 : MyProject.Common
Now I add References of MyProject.Domain and MyProject.Common to MyProject.Logic Project
using References --> Add Refernce --> Project and select Refernces
and Added References of MyProject.Domain, MyProject.Common and MyProject.Logic to MyProject
using References --> Add Refernce --> Project and select Refernces
i Aslo verified Properties of all three references ,they all having "Copy Local" set to True
When I Build/ Rebuid MyProject , it didn’t find references for MyProject.Common and MyProject.Logic but it gets the Reference for MyProject.Domain. Therefore Dll’s of MyProject.Common and MyProject.Logic do not get copied to the bin folder of MyProject
I have seen similar forums on web.. but I didn’t find any solution.
Anybody have any idea on this??
Thanks All for your replies,
the Proejct –>
MyProject.Commonwas usinglog4netassembly and so target framework ofMyProject.Commonwas.Net Framework 4,where as target framework of
MyProjectwas.Net Framework 4 Client Profile.so i Changed Traget Framework of
MyProjectto.Net Framework 4usingRight Click on
MyProject --> Properties --> Application Tab --> Select Target Framework: to .Net Framework 4IF anybody have such issue then also check targets of your all projects referenced with same framework.