Browse Source

Adding project sections into ProjectLoadInformation

pull/15/head
Boris Kozorovitzky 14 years ago committed by Daniel Grunwald
parent
commit
5e8dfcc799
  1. 2
      src/Main/Base/Project/Src/Project/ProjectLoadInformation.cs
  2. 1
      src/Main/Base/Project/Src/Project/Solution/Solution.cs

2
src/Main/Base/Project/Src/Project/ProjectLoadInformation.cs

@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
namespace ICSharpCode.SharpDevelop.Project
{
@ -15,6 +16,7 @@ namespace ICSharpCode.SharpDevelop.Project @@ -15,6 +16,7 @@ namespace ICSharpCode.SharpDevelop.Project
public string Platform { get; internal set; }
public string ProjectName { get; private set; }
public string TypeGuid { get; set; }
public IList<ProjectSection> ProjectSections {get; set;}
internal string Guid { get; set; }
Gui.IProgressMonitor progressMonitor = new Gui.DummyProgressMonitor();

1
src/Main/Base/Project/Src/Project/Solution/Solution.cs

@ -564,6 +564,7 @@ namespace ICSharpCode.SharpDevelop.Project @@ -564,6 +564,7 @@ namespace ICSharpCode.SharpDevelop.Project
for(int i=0; i<projectsToLoad.Count; i++) {
ProjectLoadInformation loadInfo = projectsToLoad[i];
IList<ProjectSection> projectSections = readProjectSections[i];
loadInfo.ProjectSections = projectSections;
// set the target platform
SolutionItem projectConfig = newSolution.GetProjectConfiguration(loadInfo.Guid);

Loading…
Cancel
Save