Bug 19868 - Deleting a folder with items in Solution Explorer visually deletes files, but not folder
Summary: Deleting a folder with items in Solution Explorer visually deletes files, but...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 5.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Marius Ungureanu
Depends on:
Reported: 2014-05-17 01:54 UTC by Pierce Boggan [MSFT]
Modified: 2016-04-19 12:11 UTC (History)
3 users (show)

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:

Description Pierce Boggan [MSFT] 2014-05-17 01:54:09 UTC
Deletion of a folder with items in it should result in both being deleted and disappearing from the project tree in the Solution Explorer

Deletion of a folder with items in it results in the items and folder being deleted, but only the items being shown as deleted from the project tree in the Solution Explorer

To Reproduce:
1. Create a solution.
2. Add a folder.
3. Add multiple items to the folder.
4. Delete the folder. Don't remove from project. Press the "Delete" option.
5. Empty folder is shown in project tree.
6. Check file system; notice folder + items in folder have been deleted, but Xamarin Studio still shows the folder.

Version Information:
=== Xamarin Studio ===

Version 5.0 (build 840)
Installation UUID: b1a86751-a70c-4139-bae1-41d9a68e4ffc
	Mono 3.4.0 ((no/c3fc3ba)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 304000204

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: (Business Edition)
Hash: 1f89a4b
Build date: 2014-05-04 19:42:38-0400

=== Xamarin.Android ===

Version: 4.12.4 (Business Edition)
Android SDK: /Users/pierceboggan/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.4   (API level 19)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Build Information ===

Release ID: 500000840
Git revision: a2c688cdabf3e19598178ddca5dc88f875f45302
Build date: 2014-05-05 19:14:02-04
Xamarin addins: 4ace76e8c4a033f132d3c97d2d2159fa4bdba640

=== Operating System ===

Mac OS X 10.9.2
Darwin Pierces-MacBook-Pro.local 13.1.0 Darwin Kernel Version 13.1.0
    Wed Apr  2 23:52:02 PDT 2014
    root:xnu-2422.92.1~2/RELEASE_X86_64 x86_64
Comment 1 Tajinder Singh 2014-05-19 02:46:34 UTC
@Pierce, I have checked this issue with the latest builds:

XS 5.0(build 874)
X.Android 4.12.4-15

I have followed steps as you mentioned in your bug description, Now when we delete a folder having items in Solution Explorer ,It also deletes the folder along with the files.Below is the screencast for the same:

Can you please attach the screenshot with the build info if you are still facing the same issue? 

Comment 2 Marius Ungureanu 2016-04-19 12:11:39 UTC
I can no longer see this issue, if you happen to see this again, please reopen this bug.