// private methods...
 SolutionElement OpenSolution(string path)
 {
     SolutionLoaderBase loader = GetSolutionLoader(path);
     SolutionElement solution = null;
     if (string.IsNullOrEmpty(_Configuration) || string.IsNullOrEmpty(_Platform))
         solution = loader.LoadFrom(path);
     else
         solution = loader.LoadFrom(path, _Configuration, _Platform);
     if (!_SkipMetadataLoading)
         AssemblyReferenceManager.Instance.LoadAllAssemblies();
     SolutionParseController controller = new SolutionParseController();
     controller.ParseSolution(solution);
     SyncProjectSymbols(solution);
     return solution;
 }
Ejemplo n.º 2
0
        // private methods...
        SolutionElement OpenSolution(string path)
        {
            SolutionLoaderBase loader   = GetSolutionLoader(path);
            SolutionElement    solution = null;

            if (string.IsNullOrEmpty(_Configuration) || string.IsNullOrEmpty(_Platform))
            {
                solution = loader.LoadFrom(path);
            }
            else
            {
                solution = loader.LoadFrom(path, _Configuration, _Platform);
            }
            if (!_SkipMetadataLoading)
            {
                AssemblyReferenceManager.Instance.LoadAllAssemblies();
            }
            SolutionParseController controller = new SolutionParseController();

            controller.ParseSolution(solution);
            SyncProjectSymbols(solution);
            return(solution);
        }