VS 2005 Reference Problem With Version Number

Posted on 2008-11-14
Last Modified: 2013-12-17
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 while the calling dll is looking for version 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 but its manifest shows version 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.
Question by:rkulp
    LVL 7

    Assisted Solution

    Do you have your assembly version hard coded, or are you using the * feature?
    [assembly: AssemblyVersion ( "" )]
    [assembly: AssemblyVersion ( "1.5.*" )] ?
    LVL 1

    Author Comment


    Thanks for your quick response. The main program is hard coded as and the tri-state tree view dll is coded as 1.0.*. The skybound.visualstyles.dll manifest shows but I don't know if that indicates it was hard coded. The problem is with skybound.visualstyles.dll which I cannot change.
    LVL 1

    Accepted Solution

    I solved the problem. As usual, the error messages are multi-layered and sometimes are misleading. After removing the two dlls and recompiling the tristatetreeview I got down to the true problem -- a mismatched 32-bit vs 64-bit assembly. Once that was resolved by recompiling the main program to be x86 only, the program worked.
    LVL 7

    Expert Comment

    No objection

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
    Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now