Updating Visual Studio project references

2 posts, 0 answers
  1. Tom
    Tom avatar
    7 posts
    Member since:
    Jun 2009

    Posted 19 Apr 2010 Link to this post


    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.

  2. hwsoderlund
    hwsoderlund avatar
    419 posts
    Member since:
    Aug 2006

    Posted 19 Apr 2010 Link to this post

    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.
Back to Top