开发者

Update third party component dlls in a Visual Studio solution

开发者 https://www.devze.com 2023-02-18 04:29 出处:网络
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.

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?


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.


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.


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消