Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update DLL reference

I wanted to update some DLLs used in my .NET project to the latest version and I've noticed that, if I replace the DLLs on the file system with their new versions, VS 2012 updates the DLL version number in the Properties window.

Is this some new feature of VS 2012? I don't remember seeing it in VS 2010 (I expected it would need more manual handling).

Is this working right, or should I remove and re-add the DLLs manually from the references, just to be sure?

Anyway, my project compiles and runs fine, so I guess it works...

EDIT:

I guess it works because the DLLs are not strongly named (http://msdn.microsoft.com/en-us/library/wd40t7ad.aspx)? Perhaps I should re-add them if they were... Inside the project file I saw it had the old version number, but in the properties window I saw the new one...

Thanks!

like image 974
user2173353 Avatar asked Jun 17 '13 10:06

user2173353


People also ask

How do I update references in Visual Studio?

Open the project in Visual Studio. Right-click on the project's References folder and select Add Reference to open the Add Reference dialog box. Locate the new assembly version in the Add Reference dialog for each Infragistics assembly listed in your References folder.


1 Answers

Easier option to refresh / reload references & types DLL (for example COM interop types) without re-adding all DLLs one-by-one is to reload all projects that reference it like this:

enter image description hereenter image description here

like image 53
Evalds Urtans Avatar answered Sep 19 '22 13:09

Evalds Urtans