From 226f46fcbb9e348a59d763311d989837d2271115 Mon Sep 17 00:00:00 2001 From: Daniel Grunwald Date: Sun, 31 Dec 2006 15:45:03 +0000 Subject: [PATCH] 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 --- src/Main/Base/Project/Src/Project/Solution/Solution.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Main/Base/Project/Src/Project/Solution/Solution.cs b/src/Main/Base/Project/Src/Project/Solution/Solution.cs index a2b13a31ac..d5d2c60807 100644 --- a/src/Main/Base/Project/Src/Project/Solution/Solution.cs +++ b/src/Main/Base/Project/Src/Project/Solution/Solution.cs @@ -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; }