Reputation: 77
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?
Upvotes: 1
Views: 382
Reputation: 6918
please check the access level of tat class.
Please inheritance concept this could be the problem.. and if this is not the prob just remove that dll reference and before adding it again build the project of which you want to add the reference.
Upvotes: 0
Reputation: 56934
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.
Upvotes: 2