Bug 3813 - Moving files from root project folder in to subfolder
Summary: Moving files from root project folder in to subfolder
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Shell ()
Version: 2.8.6
Hardware: Other Other
: Normal normal
Target Milestone: ---
Assignee: Alan McGovern
Depends on:
Reported: 2012-03-08 12:13 UTC by Wietse Kok
Modified: 2015-11-20 06:43 UTC (History)
2 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 Wietse Kok 2012-03-08 12:13:00 UTC
Description of Problem:
Exception occurs after moving a file from project root to subfolder.

Steps to reproduce the problem:
1. Have a solution open with one or more projects
2. One project should already have a folder in it, with some files in it. Have a file in the folder that is already on the disk in the folder, but not in the project.
3. Move a file within the same project with the same name at the root level to the folder. A message appears which tells that the file already exists. Click "Overwrite", and an Exception occurs which also says that the file already exists.

Actual Results:
Exception from the OS.

Expected Results:
No Exception, just replace the file.

How often does this happen? 

Additional Information:
Comment 1 Abhishek 2015-11-20 06:43:35 UTC
I have checked this issue with the latest C6 build. 

I have followed the steps given in the bug description and its working fine no exception occur while overwrite the file. Here is the screencast for the same:

Environment Info:
=== Xamarin Studio ===

Version 5.10 (build 872)
Installation UUID: 93e693b0-b53d-40f4-b29c-b61ff5cbe892
	Mono 4.2.1 (explicit/6dd2d0d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010102

=== Xamarin.Profiler ===

Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Apple Developer Tools ===

Xcode 7.1 (9079)
Build 7B91b

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: 3c0ec35
Branch: master
Build date: 2015-11-12 13:05:39-0500

=== Xamarin.Android ===

Version: (Enterprise Edition)
Android SDK: /Users/xamarin23/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 24.4
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.1
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: (Enterprise Edition)

=== Build Information ===

Release ID: 510000872
Git revision: 18af1ba26343fb73877cc8081a808e3100fa00e5
Build date: 2015-11-18 05:58:59-05
Xamarin addins: 7d8e6d12fd79bb0a3ebe4f6f0d0ad7c984c2ad88
Build lane: monodevelop-lion-cycle6

=== Operating System ===

Mac OS X 10.10.5
Darwin 800BC.local 14.5.0 Darwin Kernel Version 14.5.0
    Wed Jul 29 02:26:53 PDT 2015
    root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64

As if now I am closing this issue. Feel free to reopen this issue if issue occur to you again.