Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ward <matt.ward@xamarin.com>2017-07-25 16:37:44 +0300
committerMatt Ward <matt.ward@xamarin.com>2017-07-25 16:47:49 +0300
commit4cc9d3544fec9009e45d0fc5ee68c68178d6c36b (patch)
tree054da07f4504d9d382ea93b7d62fde920c2be05e /main/src/core
parent770a22f794d928be9575bc8ba568eda172527b2a (diff)
[Ide] Fix project not created in own directory with New Project dialog
Fixed bug #57934 - When adding project to solution "Create a project directory within the solution directory." checkbox is not respected https://bugzilla.xamarin.com/show_bug.cgi?id=57934 To reproduce the original bug: 1. Create a new solution using the New Project dialog and ensure the Create a project directory within the solution directory is unchecked. 2. Add a new project to the existing solution. 3. The final page of the New Project dialog would have the Create a project directory within the solution directory check box checked and disabled. However the project would not be created in its own directory.
Diffstat (limited to 'main/src/core')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/NewProjectController.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/NewProjectController.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/NewProjectController.cs
index 4bab7ef0b5..1552444a4c 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/NewProjectController.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/NewProjectController.cs
@@ -193,7 +193,8 @@ namespace MonoDevelop.Ide.Projects
SetDefaultLocation ();
SetDefaultGitSettings ();
SelectedLanguage = PropertyService.Get (SelectedLanguagePropertyName, "C#");
- projectConfiguration.CreateProjectDirectoryInsideSolutionDirectory = PropertyService.Get (CreateProjectSubDirectoryPropertyName, true);
+ if (IsNewSolution)
+ projectConfiguration.CreateProjectDirectoryInsideSolutionDirectory = PropertyService.Get (CreateProjectSubDirectoryPropertyName, true);
}
void UpdateDefaultSettings ()