Bug 4894 - Switching project build target to API 10 throws exception (when editing existing layout)
Summary: Switching project build target to API 10 throws exception (when editing exist...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: 2.9.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
Depends on:
Reported: 2012-05-04 17:47 UTC by PJ
Modified: 2012-05-31 07:45 UTC (History)
0 users

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

Test case (22.00 KB, application/zip)
2012-05-04 17:47 UTC, PJ

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 PJ 2012-05-04 17:47:28 UTC
Created attachment 1806 [details]
Test case

Not sure if changing the project build target while editing is fully supported, but I switched from API 8 to API 10 and got the following exception:


Then, the toolbox just displayed 'There are no tools available for your project'.

My outline at the time looked like:

Linear Layout
 View stub

Should be able to repro by opening the attached solution's main.axml file and then switching the project build target to 2.3

To note:

I switched the build target from API 15 to API 8 with no issues
Comment 1 PJ 2012-05-04 17:51:04 UTC
MD 4.1.2: 94c91dd2fcb1a1d8186acbf1a6d7ed9ca09f3ceb
Comment 2 Lluis Sanchez 2012-05-31 07:45:01 UTC
Fixed in master.