Look for new embedded resources except licx files

Exclude TempDB from Database list on startup
This commit is contained in:
Rich
2012-01-26 16:44:26 +00:00
parent 361f7eb2d0
commit ce76f1983d
2 changed files with 5 additions and 1 deletions

View File

@@ -127,6 +127,10 @@ namespace Sync
foreach (XmlAttribute xa in xl)
if(xa.Value.ToUpper().EndsWith("SQL"))
retval.Add(xa.Value);
xl = doc.DocumentElement.SelectNodes(@"//ns:EmbeddedResource/@Include",nsmgr);
foreach (XmlAttribute xa in xl)
if (!xa.Value.ToUpper().EndsWith("LICX"))
retval.Add(xa.Value);
return retval;
}
private void AddToResults(FileInfo fiSS,FileInfo fiDev)