Bug 6466 - Rebuild if project has been moved
Summary: Rebuild if project has been moved
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-08-08 08:30 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2014-02-10 15:43 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 Rolf Bjarne Kvinge [MSFT] 2012-08-08 08:30:55 UTC
When the following conditions are met:
* Project has already been built (for the simulator).
* Project is moved to another directory.
* mtouch creates symlinks instead of copying files (to make the build faster).

This happens when the project is executed (in the simulator) [1]: 

MonoTouch will show a better error message, asking the user to rebuild his project, but the real fix is have MonoDevelop automatically rebuild the project when these conditions are met.
Comment 2 Jeffrey Stedfast 2013-04-02 17:12:21 UTC
wouldn't this be an mtouch bug? mtouch should probably check that the symlinks it creates are still valid before launching
Comment 3 Rolf Bjarne Kvinge [MSFT] 2013-04-02 17:27:43 UTC
As mentioned in the description, mtouch will ask the user to rebuild his project when this happens (but the best thing would be for XS to rebuild automatically).

But if XS can't rebuild automatically we can close this as won't fix.