|
|
|
@ -593,12 +593,18 @@ namespace ICSharpCode.SharpDevelop.Project |
|
|
|
} |
|
|
|
} |
|
|
|
newSolution.fileName = Path.ChangeExtension(fileName, ".sln"); |
|
|
|
newSolution.fileName = Path.ChangeExtension(fileName, ".sln"); |
|
|
|
ICSharpCode.SharpDevelop.Project.Converter.CombineToSolution.ConvertSolution(newSolution, fileName); |
|
|
|
ICSharpCode.SharpDevelop.Project.Converter.CombineToSolution.ConvertSolution(newSolution, fileName); |
|
|
|
|
|
|
|
if (newSolution.FixSolutionConfiguration(newSolution.Projects)) { |
|
|
|
|
|
|
|
newSolution.Save(); |
|
|
|
|
|
|
|
} |
|
|
|
} else if (extension == ".PRJX") { |
|
|
|
} else if (extension == ".PRJX") { |
|
|
|
if (!MessageService.AskQuestion("${res:SharpDevelop.Solution.ImportPrjx}")) { |
|
|
|
if (!MessageService.AskQuestion("${res:SharpDevelop.Solution.ImportPrjx}")) { |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
newSolution.fileName = Path.ChangeExtension(fileName, ".sln"); |
|
|
|
newSolution.fileName = Path.ChangeExtension(fileName, ".sln"); |
|
|
|
ICSharpCode.SharpDevelop.Project.Converter.CombineToSolution.ConvertProject(newSolution, fileName); |
|
|
|
ICSharpCode.SharpDevelop.Project.Converter.CombineToSolution.ConvertProject(newSolution, fileName); |
|
|
|
|
|
|
|
if (newSolution.FixSolutionConfiguration(newSolution.Projects)) { |
|
|
|
|
|
|
|
newSolution.Save(); |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
newSolution.fileName = fileName; |
|
|
|
newSolution.fileName = fileName; |
|
|
|
if (!SetupSolution(newSolution, fileName)) { |
|
|
|
if (!SetupSolution(newSolution, fileName)) { |
|
|
|
|