Thursday, 6 August 2015

Using Sublime Text Search+Replace to clean Visual Studio Projects

The find-in-files functionality of Sublime Text can be used to find end remove bad settings from Visual Studio project files - handy if you have a lot of projects.

Search for: <ShowProgress>LinkVerboseLib</ShowProgress>\n
and replace it with nothing. That hides a lot of unneeded output.

Replace:

<LinkLibraryDependencies>true</LinkLibraryDependencies>

with
<LinkLibraryDependencies>false</LinkLibraryDependencies>

To stop MSBuild from linking stuff you don't want lunk.