Browse Source

Fixed SD2-1007: VS .NET solution are not converted correctly to the VS 2005 format.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2242 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 19 years ago
parent
commit
226f46fcbb
  1. 5
      src/Main/Base/Project/Src/Project/Solution/Solution.cs

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

@ -538,7 +538,10 @@ namespace ICSharpCode.SharpDevelop.Project @@ -538,7 +538,10 @@ namespace ICSharpCode.SharpDevelop.Project
if (sec.Name == "SolutionConfiguration") {
this.Sections.Remove(sec);
foreach (SolutionItem item in sec.Items) {
newSec.Items.Add(new SolutionItem(item.Name + "|Any CPU", item.Location + "|Any CPU"));
// item.Name = item.Location
// might be ConfigName.0 = Debug (VS.NET)
// or Debug = Debug (VS.NET 03)
newSec.Items.Add(new SolutionItem(item.Location + "|Any CPU", item.Location + "|Any CPU"));
}
break;
}

Loading…
Cancel
Save