This is a migrated thread and some comments may be shown as answers.
Updating Visual Studio project references
1 Answer 23 Views
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 19 Apr 2010, 02:21 PM
Hi,

Is there any easy was to update the references to a particular assembly (say a version of one of the Telerik assemblies) across all projects in a solution in Visual Studio?  I'm just wondering if there is a better way than manually going through each assembly and each project and manually right clicking, removing and re-adding the references.

Thanks,
Tom

1 Answer, 1 is accepted

Sort by
0
hwsoderlund
Top achievements
Rank 1
answered on 19 Apr 2010, 04:09 PM
I use the "Replace in Files" function in UltraEdit for this. Just set it to replace all occurences of the string you want to replace and have it go through all *.csproj files in your main code directory. If you are using TFS or SourceSafe for source control you have to remember to check out all the .csproj files before doing this, as they will be read-only otherwise.

I believe the same thing can be accomplished with NotePad++, which is free.
Asked by
Tom
Top achievements
Rank 1
Answers by
hwsoderlund
Top achievements
Rank 1
Share this question
or