Bug 1309 - Creating new project configuration should handle default platform values better
Summary: Creating new project configuration should handle default platform values better
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Version: 2.8 Alpha 2
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 5332 ()
Depends on:
Blocks:
 
Reported: 2011-10-06 11:28 UTC by Alan McGovern
Modified: 2016-12-16 18:11 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
screenshot (115.61 KB, image/png)
2011-10-06 11:45 UTC, Alan McGovern
Details


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:
Status:
RESOLVED NOT_ON_ROADMAP

Description Alan McGovern 2011-10-06 11:28:26 UTC
I've deleted all my Simulator platform configurations, how do I add them back? When I try to add a new Configuration, there is no option for the simulator...Thanks,Rick
Comment 3 Mikayla Hutchinson [MSFT] 2011-10-06 11:39:03 UTC
It is definitely possible, it can be typed in manually.
Comment 4 Mikayla Hutchinson [MSFT] 2011-10-06 11:39:53 UTC
But possibly the combo entries should also list some known builtins.
Comment 5 Alan McGovern 2011-10-06 11:45:17 UTC
Created attachment 624 [details]
screenshot

I think the confusion is because 'Platform' in the screenshot shows 'Any CPU' by default even though the only valid options in an iPhone project are 'iPhoneSimulator' and 'iPhone'. The user probably never clicked on this combobox and so never realised that's how simulator/device configurations are made.
Comment 6 Mikayla Hutchinson [MSFT] 2011-10-06 11:46:15 UTC
If we have known platforms for each project type, I would suggest that "Create configurations for all solution items" should use more complicated logic to determine a good platform for each project, or even an existing configuration, and create a heterogeneous solution configuration.

For example, if I have project with a library that has Debug|AnyCPU and Release|AnyCPU configurations, and I create an Debug|iPhoneSimulator configuration for an iPhone project in the same solution, it should probably create a Debug|iPhoneSimulator solution configuration, but map it to the existing Debug|AnyCPU library configuration.
Comment 7 Mikayla Hutchinson [MSFT] 2011-10-06 11:54:33 UTC
I would suggest that "Create configurations for all solution items" needs to be removed and replaced with a clearer UI that would make it clear what solution configuration will be created and all its mappings, and what project configurations will be created.

This UI would allow tweaking these values in various ways;
* assign the new project configuration to an existing solution configuration
* create a new solution configuration and choose what project configurations it maps to
* create matching configurations names for all projects, with the new configuration's name and platform value
* create matching configurations names for all projects, with the new configuration's name and each project's default platform value
Comment 8 Mikayla Hutchinson [MSFT] 2012-05-25 11:42:06 UTC
*** Bug 5332 has been marked as a duplicate of this bug. ***