Bug 3798 - Deleting a Project from a solution deletes the entire solution (and all projects in it) if 'Create Solution Directory' is not checked at project creation
Summary: Deleting a Project from a solution deletes the entire solution (and all proje...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8.8.1
Hardware: PC Mac OS
: High major
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-03-07 18:26 UTC by Eric Beisecker
Modified: 2013-06-10 12:40 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Eric Beisecker 2012-03-07 18:26:29 UTC
Current Behavior: Deleting a project in a MonoDevelop solution deletes the entire solution if the 'Create Directory for Solution' checkbox is unchecked at project creation.

Expected Behavior: Deleting a Project in a Solution should NEVER delete all projects in the Solution.

Steps:
-(In MD) File->New->Solution
-Enter 'ProjectOne' as the Project Name
-Uncheck the 'Create Directory for solution' checkbox
-Continue with Project Creation
-Add a new Project to the Solution 'ProjectTwo'
-Right click on 'ProjectOne' and select 'Delete'
-In dialog click 'Delete From Disk'
-Click 'Delete'
-None of the Projects in the Solution now exists on Disk.

Versions:
MonoDevelop 2.8.8.1
Mono 2.10.9
Comment 1 Mansheng 2012-03-09 02:06:17 UTC
Did you choose "delete the whole base directory"? I think that's what it means.
If you really don't want this to happen, see if this patch will help: https://github.com/mono/monodevelop/pull/164
Comment 2 Lluis Sanchez 2013-06-10 12:40:25 UTC
The "delete the whole base directory" option will now not be available if the directory contains the solution file or files from other projects.