|
|
@ -95,12 +95,12 @@ namespace ICSharpCode.SharpDevelop |
|
|
|
|
|
|
|
|
|
|
|
progressMonitor.CancellationToken.ThrowIfCancellationRequested(); |
|
|
|
progressMonitor.CancellationToken.ThrowIfCancellationRequested(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IProjectBinding binding = ProjectBindingService.GetBindingPerProjectFile(location); |
|
|
|
IProject newProject; |
|
|
|
IProject newProject; |
|
|
|
if (!File.Exists(location)) { |
|
|
|
if (!(binding != null && binding.HandlingMissingProject) && !File.Exists(location)) { |
|
|
|
newProject = new MissingProject(location, title); |
|
|
|
newProject = new MissingProject(location, title); |
|
|
|
newProject.TypeGuid = loadInformation.TypeGuid; |
|
|
|
newProject.TypeGuid = loadInformation.TypeGuid; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
IProjectBinding binding = ProjectBindingService.GetBindingPerProjectFile(location); |
|
|
|
|
|
|
|
if (binding != null) { |
|
|
|
if (binding != null) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
newProject = binding.LoadProject(loadInformation); |
|
|
|
newProject = binding.LoadProject(loadInformation); |
|
|
|