Bug 17481 - Moving not empty directory within project cause creating new directory
Summary: Moving not empty directory within project cause creating new directory
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Shell ()
Version: Trunk
Hardware: All All
: Normal normal
Target Milestone: 4.2.3 (from master)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-01-29 05:38 UTC by Sergei Makarov
Modified: 2015-08-31 10:38 UTC (History)
5 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 Sergei Makarov 2014-01-29 05:38:46 UTC
Hello!

Moving not empty directory within project cause creating new directory

How to reproduce:

1. Create project structure Dir1/Dir2/Dir3/EmptyClass.cs
2. In project navigator drag Dir3 and drop it to Dir1
3. Directory Dir1/Dir2/Dir3 still present.

I have traced this and know that the operation impemented via creating new directory and moving files into (see ProjectOperations.TransferFiles(...)). But why not simple to move directory?
Comment 1 Sadik Ali 2014-01-29 06:15:51 UTC
I have checked this issue, and getting directory present after moving director on "Xamarin Studio"

I followed steps as in bug description and I found that after moving directory "Dir3". "Dir3" displayed only in "Dir1" on "Xamarin Studio" Ide, but when I check under project Directory, "Dir3" are present in "Dir1/Dir3" and present "Dir1/Dir2/Dir3"
Comment 2 Sadik Ali 2014-01-29 06:19:37 UTC
Checked With:

XS 4.2.3 (Build 51)
Comment 3 Mohit Kheterpal 2014-02-06 12:52:30 UTC
Regression Status: This issue also exist with Stable XS 4.2.2 (build 2).
Comment 4 Lluis Sanchez 2015-08-31 10:38:29 UTC
Already fixed.