filter with (pretty much) all the plain-text files in a Visual Studio C#.NET or VB.NET project

Jan 3 at 8:28 PM
Edited Jan 20 at 11:21 AM
All --

I keep having to re-create this every time I switch a client on my dev work.

It is a FileFilter for SourceBackup that includes (I hope) every plain-text file extension in a typical VB.NET or C#.NET project.

I am putting it here for me (and you) just in case in helps.

HTH.

<?xml version="1.0" encoding="utf-16"?>
<BackupFilter xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Name>TextFilesV03</Name>
    <FilterList>
        <string>*.AddIn</string>
        <string>*.asax</string>
        <string>*.ascx</string>
        <string>*.ashx</string>
        <string>*.asmx</string>
        <string>*.asp</string>
        <string>*.aspx</string>
        <string>*.axd</string>
        <string>*.baml</string>
        <string>*.bat</string>
        <string>*.bmp</string>
        <string>*.browser</string>
        <string>*.btp</string>
        <string>*.btproj.user</string>
        <string>*.btproj</string>
        <string>*.cd</string>
        <string>*.chm</string>
        <string>*.cmd</string>
        <string>*.config</string>
        <string>*.cpp</string>
        <string>*.cs</string>
        <string>*.cshtml</string>
        <string>*.csproj.user</string>
        <string>*.csproj</string>
        <string>*.css</string>
        <string>*.csv</string>
        <string>*.cur</string>
        <string>*.dbml.layout</string>
        <string>*.dbml</string>
        <string>*.dbp</string>
        <string>*.disco</string>
        <string>*.FileFilter</string>
        <string>*.h</string>
        <string>*.hhc</string>
        <string>*.hhk</string>
        <string>*.hhp</string>
        <string>*.htm</string>
        <string>*.html</string>
        <string>*.HxF</string>
        <string>*.HxK</string>
        <string>*.ico</string>
        <string>*.js</string>
        <string>*.jsl</string>
        <string>*.ldd</string>
        <string>*.manifest</string>
        <string>*.map</string>
        <string>*.master</string>
        <string>*.mdb</string>
        <string>*.mht</string>
        <string>*.odx</string>
        <string>*.pdf</string>
        <string>*.pfx</string>
        <string>*.png</string>
        <string>*.rdlc</string>
        <string>*.resx</string>
        <string>*.rpt</string>
        <string>*.rtf</string>
        <string>*.ruleset</string>
        <string>*.sdf</string>
        <string>*.settings</string>
        <string>*.sfx</string>
        <string>*.sitemap</string>
        <string>*.skin</string>
        <string>*.sln</string>
        <string>*.snk</string>
        <string>*.sql</string>
        <string>*.svc</string>
        <string>*.testrunconfig</string>
        <string>*.text</string>
        <string>*.txt</string>
        <string>*.vb</string>
        <string>*.vbhtml</string>
        <string>*.vbproj.user</string>
        <string>*.vbproj</string>
        <string>*.vbs</string>
        <string>*.vcproj</string>
        <string>*.vdproj</string>
        <string>*.vsdisco</string>
        <string>*.vsmdi</string>
        <string>*.webinfo</string>
        <string>*.wsdl</string>
        <string>*.wsf</string>
        <string>*.xaml</string>
        <string>*.xls</string>
        <string>*.xml</string>
        <string>*.xsc</string>
        <string>*.xsd</string>
        <string>*.xsl</string>
        <string>*.xslt</string>
        <string>*.xss</string>
        <string>~*.bak</string>
        <string>~*.cache</string>
        <string>~*.dll</string>
        <string>~*.eot</string>
        <string>~*.exe</string>
        <string>~*.gif</string>
        <string>~*.ico</string>
        <string>~*.jpeg</string>
        <string>~*.jpg</string>
        <string>~*.lastcodeanalysissucceeded</string>
        <string>~*.msi</string>
        <string>~*.nupkg</string>
        <string>~*.nuspec</string>
        <string>~*.pdb</string>
        <string>~*.png</string>
        <string>~*.pp</string>
        <string>~*.ps1</string>
        <string>~*.psd1</string>
        <string>~*.psm1</string>
        <string>~*.scc</string>
        <string>~*.suo</string>
        <string>~*.svc</string>
        <string>~*.tmp</string>
        <string>~*.token</string>
        <string>~*.transform</string>
        <string>~*.ttf</string>
        <string>~*.user</string>
        <string>~*.vspscc</string>
        <string>~*.vssscc</string>
        <string>~*.woff</string>
        <string>~*.zip</string>
        <string>~Thumbs.db</string>
    </FilterList>
</BackupFilter>
Thanks.

-- Mark Kamoski
Jan 20 at 3:07 PM
Edited Jan 20 at 3:07 PM
All --

Here is an update to my candidate "all files worth backing up in a typical VB.NET or C#.NET project without making the backup too large to email or etc"...

<?xml version="1.0" encoding="utf-16"?>
<BackupFilter xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>TextFilesV03</Name>
  <FilterList>
    <string>*.AddIn</string>
    <string>*.asax</string>
    <string>*.ascx</string>
    <string>*.ashx</string>
    <string>*.asmx</string>
    <string>*.asp</string>
    <string>*.aspx</string>
    <string>*.axd</string>
    <string>*.baml</string>
    <string>*.bat</string>
    <string>*.bmp</string>
    <string>*.browser</string>
    <string>*.btp</string>
    <string>*.btproj.user</string>
    <string>*.btproj</string>
    <string>*.cd</string>
    <string>*.chm</string>
    <string>*.cmd</string>
    <string>*.config</string>
    <string>*.cpp</string>
    <string>*.cs</string>
    <string>*.cshtml</string>
    <string>*.csproj.user</string>
    <string>*.csproj</string>
    <string>*.css</string>
    <string>*.csv</string>
    <string>*.cur</string>
    <string>*.dbml.layout</string>
    <string>*.dbml</string>
    <string>*.dbp</string>
    <string>*.disco</string>
    <string>*.FileFilter</string>
    <string>*.h</string>
    <string>*.hhc</string>
    <string>*.hhk</string>
    <string>*.hhp</string>
    <string>*.htm</string>
    <string>*.html</string>
    <string>*.HxF</string>
    <string>*.HxK</string>
    <string>*.ico</string>
    <string>*.js</string>
    <string>*.jsl</string>
    <string>*.ldd</string>
    <string>*.manifest</string>
    <string>*.map</string>
    <string>*.master</string>
    <string>*.mdb</string>
    <string>*.mht</string>
    <string>*.odx</string>
    <string>*.pdf</string>
    <string>*.pfx</string>
    <string>*.png</string>
    <string>*.rdlc</string>
    <string>*.resx</string>
    <string>*.rpt</string>
    <string>*.rtf</string>
    <string>*.ruleset</string>
    <string>*.sdf</string>
    <string>*.settings</string>
    <string>*.sfx</string>
    <string>*.sitemap</string>
    <string>*.skin</string>
    <string>*.sln</string>
    <string>*.snk</string>
    <string>*.sql</string>
    <string>*.svc</string>
    <string>*.svg</string>
    <string>*.testrunconfig</string>
    <string>*.text</string>
    <string>*.txt</string>
    <string>*.vb</string>
    <string>*.vbhtml</string>
    <string>*.vbproj.user</string>
    <string>*.vbproj</string>
    <string>*.vbs</string>
    <string>*.vcproj</string>
    <string>*.vdproj</string>
    <string>*.vsdisco</string>
    <string>*.vsmdi</string>
    <string>*.webinfo</string>
    <string>*.wsdl</string>
    <string>*.wsf</string>
    <string>*.xaml</string>
    <string>*.xls</string>
    <string>*.xml</string>
    <string>*.xsc</string>
    <string>*.xsd</string>
    <string>*.xsl</string>
    <string>*.xslt</string>
    <string>*.xss</string>
    <string>~*.bak</string>
    <string>~*.cache</string>
    <string>~*.dll</string>
    <string>~*.eot</string>
    <string>~*.exe</string>
    <string>~*.gif</string>
    <string>~*.ico</string>
    <string>~*.jpeg</string>
    <string>~*.jpg</string>
    <string>~*.lastcodeanalysissucceeded</string>
    <string>~*.msi</string>
    <string>~*.nupkg</string>
    <string>~*.nuspec</string>
    <string>~*.pdb</string>
    <string>~*.png</string>
    <string>~*.pp</string>
    <string>~*.ps1</string>
    <string>~*.psd1</string>
    <string>~*.psm1</string>
    <string>~*.scc</string>
    <string>~*.suo</string>
    <string>~*.svc</string>
    <string>~*.tmp</string>
    <string>~*.token</string>
    <string>~*.transform</string>
    <string>~*.ttf</string>
    <string>~*.user</string>
    <string>~*.vspscc</string>
    <string>~*.vssscc</string>
    <string>~*.woff</string>
    <string>~*.zip</string>
    <string>~Thumbs.db</string>
  </FilterList>
</BackupFilter>
Thanks.

-- Mark Kamoski