~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Templates/SolutionDescriptor.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
namespace MonoDevelop.Ide.Templates
47
47
{
48
 
    internal class SolutionDescriptor 
 
48
    internal class SolutionDescriptor
49
49
        {
50
50
        string startupProject;
51
51
        string directory;
139
139
 
140
140
            Solution solution = workspaceItem as Solution;
141
141
            if (solution != null) {
142
 
                for ( int i = 0; i < entryDescriptors.Count; i++ )
143
 
                {
 
142
                for ( int i = 0; i < entryDescriptors.Count; i++ ) {
 
143
                    ProjectCreateInformation entryProjectCI;
 
144
                    var entry = entryDescriptors[i] as ICustomProjectCIEntry;
 
145
                    if (entry != null)
 
146
                            entryProjectCI = entry.CreateProjectCI (localProjectCI);
 
147
                    else
 
148
                            entryProjectCI = localProjectCI;
 
149
 
144
150
                    ISolutionItemDescriptor solutionItem = entryDescriptors[i];
145
151
 
146
 
                    SolutionEntityItem info = solutionItem.CreateItem (localProjectCI, defaultLanguage);
147
 
                    entryDescriptors[i].InitializeItem (solution.RootFolder, localProjectCI, defaultLanguage, info);
 
152
                    SolutionEntityItem info = solutionItem.CreateItem (entryProjectCI, defaultLanguage);
 
153
                    entryDescriptors[i].InitializeItem (solution.RootFolder, entryProjectCI, defaultLanguage, info);
148
154
 
149
155
                    IConfigurationTarget configurationTarget = info as IConfigurationTarget;
150
156
                    if (configurationTarget != null) {