dorenstein
asked on
Add Reference adds wrong version of dll
I have two versions of a dll that I've developed. Both of these versions are visible in the object browser. In the Add References Dialog .NET tab, only the first version is visible, but it is listed twice. No matter how I select the second version (browsing or recent tab), the first version is always added to the project. Also, I have several projects in a solution, and one of the projects has the newer version in its references. The difference, I believe, is that the problem projects at one time had the older version as a reference and the one without the problem never did. Any ideas?
Try to remove the wrong reference, make a Clean Solution, and then add the right reference.
ASKER
I tried your suggestion. The double listing of the old vesion in the add references .NET tab is gone, in fact, it is not listed at all. Otherwise, the same symptoms: The old version is added even though I am asking for the new version.
Thanks anyway.
Thanks anyway.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
tigolsado,
Many Thanks. Your second solution did the trick (I was afraid to try the first). Interestingly, I only had to change one incidence of the bad reference, and it fixed the references in the other projects!
Many Thanks. Your second solution did the trick (I was afraid to try the first). Interestingly, I only had to change one incidence of the bad reference, and it fixed the references in the other projects!
ASKER
Thanks again.
ASKER
(I meant your 3rd solution did the trick - the one at MS)