.dtsConfig Searching

For whatever reason, the windows explorer “Search…” does not work when I’m searching the .dtsConfig files on my development laptop. It will routinely return “no results” found when I KNOW there are files containing the text I am searching for. Since I use the .dtsConfig files to contain connection strings, I typically am searching to make sure I am not connecting to the test server I think I am.

Luckily, this led me to discover a new favorite utility in Visual Studio the rest of the world already knew about - Find and Replace. From the VS.NET menu: Edit >> Find and Replace >> Find in Files (or [Ctrl]+[Shift]+F for keyboard jockeys)

Find and Replace from the VS.NET menu

you can launch “Find and Replace”

Find and Replace

which made me happy enough for accurately searching the .dtsConfig files (as opposed to Windows Explorer’s Search…) But what my new favorite VS.NET feature, Folder Sets. By clicking the browse ellipses next to the “Look in”drop down, I can set the search folders with the “Choose Search Folders” dialog:

Folder Sets Dialog

where I can set (and save) a batch of folders I want the Find and Replace utility to search. So simple, I see myself using this a lot in the future.

Leave a Reply