Exemplo n.º 1
0
        protected void ParseMsCsProj(string fname)
        {
            string projectName = System.IO.Path.GetFileNameWithoutExtension(fname);
            string csprojPath  = System.IO.Path.GetFileName(fname);
            string projectGuid = "";

            if (m_strCsprojVer.StartsWith("7.1"))
            {
                CsprojInfo pi = new CsprojInfo(m_bIsUnix, m_bIsMcs, projectName, projectGuid, csprojPath);

                projNameInfo[projectName] = pi;
                projGuidInfo[projectGuid] = pi;
            }
            else if (m_strCsprojVer.StartsWith("8"))
            {
                CsprojInfo2005 pi = new CsprojInfo2005(m_bIsUnix, m_bIsMcs, projectName, projectGuid, csprojPath);

                projNameInfo[projectName] = pi;
                projGuidInfo[projectGuid] = pi;
            }
        }
Exemplo n.º 2
0
        protected void ParseMsCsProj(string fname)
        {
            string projectName = System.IO.Path.GetFileNameWithoutExtension (fname);
            string csprojPath = System.IO.Path.GetFileName (fname);
            string projectGuid = "";

            if (m_strCsprojVer.StartsWith("7.1"))
            {
                CsprojInfo pi = new CsprojInfo(m_bIsUnix, m_bIsMcs, projectName, projectGuid, csprojPath);

                projNameInfo[projectName] = pi;
                projGuidInfo[projectGuid] = pi;
            }
            else if(m_strCsprojVer.StartsWith("8"))
            {
                CsprojInfo2005 pi = new CsprojInfo2005(m_bIsUnix, m_bIsMcs, projectName, projectGuid, csprojPath);

                projNameInfo[projectName] = pi;
                projGuidInfo[projectGuid] = pi;
            }
        }