private static XmlNamespaceManager GetNsMgr(string csprojFile)
{
XmlNamespaceManager nsmgr = new XmlNamespaceManager(new XmlTextReader(csprojFile).NameTable);
nsmgr.AddNamespace(Constants.MSBUILD, "http://schemas.microsoft.com/developer/msbuild/2003");
nsmgr.PushScope();
return nsmgr;
}