private void ParseBuildDirectory(XDocument projectFileDoc, XNamespace @namespace, ProjectFile projectFile)
        {
            var node = (from g in projectFileDoc.Descendants(@namespace + "PropertyGroup")
                        let config = g.Attribute("Condition")
                        where
                            config != null &&
                            config.Value.ToLowerInvariant() ==
                            " '$(configuration)|$(platform)' == '" + _buildConfiguration + "|" + _buildPlatform + "' "
                        select g.Element(@namespace + "OutputPath")).FirstOrDefault();

            if (node != null)
            {
                projectFile.SetBuildOutputDirectory(node.Value);
            }
        }