You can use VS 'Find and Replace' feature. Just press Ctrl + Shft + H and it opens up the screen. Here you can replace values within all contents of a directory and exclude certain files as well.