I have 2 projects inside 1 solution and each of the project link to each other when I build to create dll file. But I cannot see the new class that I declared? why?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have a circular reference, which is not a good idea.
DLL 1 depends on DLL 2, and vice versa.
When you compile the solution, VS.NET will determine which dll to build first, by looking at the dependencies. However, since you have a circular dependency, VS.NET will not be able to do this consistently.
It may have built the DLL which contains your new class last, so the referencing DLL doesn’t reference to the newest / latest compiled version.