Bug 36641 - Renaming file, then reverting name, causes file exists error
Summary: Renaming file, then reverting name, causes file exists error
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 5.10 (C6SR3)
Hardware: PC Mac OS
: Normal normal
Target Milestone: (C7)
Assignee: Bugzilla
Depends on:
Reported: 2015-12-04 22:58 UTC by Cody Beyer (MSFT)
Modified: 2016-05-13 17:40 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 Cody Beyer (MSFT) 2015-12-04 22:58:34 UTC
### Description

If you change the casing on a file, and then revert the casing, a file already exists error is thrown

### Steps to Reproduce

1. Create new solutions and add example.cs
2. Attempt to rename to Example.cs
3. Notice error that file already exists
4. Edit the rename field back to example.cs
5. File already exists error is thrown

### Expected Results

Step 5 should not throw an error, as there are effectively no changes to the file

### Actual Results

Step 5

### Versions

Xamarin Studio 5.10 Windows/Mac
Comment 1 xamarin-release-manager 2015-12-11 17:10:54 UTC
Fixed in version (master)

Author: Matt Ward
Commit: f2785e5247f0d7374e2a19f4e459e99d1a3ae112 (mono/monodevelop)
Comment 2 Abhishek 2016-05-13 17:40:02 UTC
I have checked this issue with the latest C7 build:
XamarinStudio- Now this issue is working fine. Here screencast for the same: http://www.screencast.com/t/sGkPF9e2Ardq

Hence closing this issue.