serhio
serhio

Reputation: 28586

Update third party component dlls in a Visual Studio solution

I have a big solution with a lot of projects using some third party components (Infragistics).

Now, I installed a new version of that component (6=>7), in parallel with the old one.

Now I want that all my referenced third party dll's "point" to the newly installed version, but not sure if I should manually open each project, remove the old, and reset the references to the new path... there is really a lot of projects in the solution... is there a better way to do it?

Upvotes: 0

Views: 1694

Answers (4)

Olaf
Olaf

Reputation: 10247

There is a "Version Upgrade Utility" or "Version Utility" (info here) by Infragistics.

Other 3rd party vendors (like DevExpress) have similar tools. You might wish to check those first.

Upvotes: 1

Doliveras
Doliveras

Reputation: 1769

Infragistics provide a tool called "Project Upgrade Utility" that does precisely what you want.

All you have to do is start the app and select a solution file (.sln) or a project (.vbproj or .csproj) file, the app let you select to what version of infragistics you want to upgrade and it will do the rest of the job.

I used this method in numerous occasions to upgrade to the new releases of infragistics and it works without problems, and if the tool finds any problem it creates a report.

Remember that every infragistics dll has a line on the corresponding licences.licx file of the project with information regarding version, culture and public key, so if you go for a manual update you must update these lines too.

Upvotes: 1

Sam Holder
Sam Holder

Reputation: 32964

I've not tried it, but this VS extension seems like it might do the job

Upvotes: 0

Albin Sunnanbo
Albin Sunnanbo

Reputation: 47058

I usually use notepad++ to search and replace in all .csproj files. I assume the replace in files in Visual Studio will work good too.

Upvotes: 1

Related Questions