Link to home
Start Free TrialLog in
Avatar of rkulp
rkulpFlag for United States of America

asked on

VS 2005 Reference Problem With Version Number

I have successfully compiled a program that references several dlls. The program runs fine in the IDE but when installed I get the error below that indicates a version problem. The referenced dll has version 1.2.1.0 while the calling dll is looking for version 1.2.0.0. Okay, I deleted the reference in the calling dll and then put in a reference to the correct dll. When the reference is added, its properties show version 1.2.0.0 but its manifest shows version 1.2.1.0. I also removed and replaced the reference to the dll in the main program and the same thing happens. So, what can I do to get the version numbers in agreement? Note that the calling dll has Specific Version set to False but that doesn't seem to make a difference. The main program is VB and the calling dll is C#, but that should be immaterial. The called dll is skybound.visualstyles.dll.
SOLUTION
Avatar of psdavis
psdavis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rkulp

ASKER

psdavis,

Thanks for your quick response. The main program is hard coded as 1.0.0.0 and the tri-state tree view dll is coded as 1.0.*. The skybound.visualstyles.dll manifest shows 1.2.1.0 but I don't know if that indicates it was hard coded. The problem is with skybound.visualstyles.dll which I cannot change.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No objection