Bug 4905 - Feature Request: Manage Android and iOS common projects better
Summary: Feature Request: Manage Android and iOS common projects better
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
Depends on:
Reported: 2012-05-05 16:16 UTC by Ian
Modified: 2014-02-25 18:46 UTC (History)
1 user (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 Ian 2012-05-05 16:16:55 UTC
[Miguel suggested I put new features in as bugs here]

Now that we've bought an enterprise Android and iOS license we are building cross platform apps.

Here's a common app plan:

We have a common business project with only .NET code. This common.XXX.csproj will provide services to the Android and the iOS apps.

Right now we have to create 2 projects and manually link them. Each time I add a class I need to add it to the other. When I rename or move files and folders I have to do it twice.

Perhaps MD could in some way link these common projects so that changes in one happen in the other.


Perhaps have an option called, "Mirror Changes". That way as I refactor the code, something that happens all the time, changes would be "Mirrored".

That would be a wonderful "Cross Platform" support system.
Comment 1 Mike Krüger 2012-05-05 17:28:11 UTC
If it's common why not just use the same project ?
Comment 2 Ian 2012-05-05 18:31:39 UTC
Because you need to have the project file as an Android or iOS "Library" type. So 2 projects that both point to the same files. If there is another way, please let me know though.
Comment 3 Mikayla Hutchinson [MSFT] 2014-02-25 18:46:08 UTC
You can now use PCL projects for this.