Bug 14215 - Creating a new project does not warn me that an existing project already exists.
Summary: Creating a new project does not warn me that an existing project already exists.
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: High normal
Target Milestone: master
Assignee: Mike Krüger
Depends on:
Reported: 2013-08-23 14:27 UTC by Miguel de Icaza [MSFT]
Modified: 2014-01-17 06:51 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 Miguel de Icaza [MSFT] 2013-08-23 14:27:09 UTC
If you create a project with Xamarin Studio with an existing name, it does not warn the user that the file exists, instead it proceed to create all the files in the project, offering an option to "Cancel" the creation of that file, or "Overwrite it".

There is no way of canceling the whole operation up-front.

We should first check if the directory exists, and if so, warn the user.   And if he chooses the proceed, he is on his own.   But currently, the result is clicking once per file that would be overwritten, and ending up with a project that probably was modified, and had new files added.
Comment 1 Miguel de Icaza [MSFT] 2013-08-23 14:27:24 UTC
Assigning to Mike.
Comment 2 Mikayla Hutchinson [MSFT] 2013-08-23 14:29:54 UTC
This was one of the reasons we wanted to write the project template system, the template system does not currently have a list of files upfront.
Comment 3 Miguel de Icaza [MSFT] 2013-08-23 15:14:13 UTC
We dont need to do write that to do a simple "Does the target directory exist?" check, and if so, warn the user upfront.
Comment 4 Mike Krüger 2013-08-23 16:06:27 UTC
Comment 5 Atin 2014-01-17 06:51:50 UTC
Today, we have checked this issue with:

XS (4.2.3 build 127)

Now this issue is not exist, If we create a project with Xamarin Studio with an existing name, it warns the user that file already exists.

screencast: http://screencast.com/t/40JeAiIZuUPa

hence marking this as Verified