VB.NET - unable to update Project References to latest version of a DLL

LeighWardle
LeighWardle used Ask the Experts™
on
Hi Experts,

I'm runninig VS2013 Ultimate.

I've got a VB.NET project that uses a particular DLL.

In the Project References the DLL is showing as version 1.0.2.

But the DLL file that it points to is version 1.0.3.

I have tried deleting the reference and re-establishing it.  When I click Add | Reference it shows as being version 1.0.3:

Add Reference Screen

But then reappears in the reference list as v1.0.2 again.

Regards,
Leigh
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015
Commented:
There are 2 version numbers on a dll: the assembly version and the file version.

The version that you see when you set the reference is the file version.

The version that you see in the list of references is the assembly version.

These are set under the Assembly Information of the Application tab of the project's Properties window. The programmer who compiled the dll simply did not synchronize the 2 versions.

Author

Commented:
Thanks James for a very clear explanation.

Regards,
Leigh

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial