Bug 17891 - Creating new Ice Cream Sandwich project doesn't set TargetFramework version
Summary: Creating new Ice Cream Sandwich project doesn't set TargetFramework version
Status: RESOLVED DUPLICATE of bug 17193
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: 4.2.x
Hardware: PC Windows
: --- normal
Target Milestone: master
Assignee: Mikayla Hutchinson [MSFT]
Depends on:
Reported: 2014-02-19 15:40 UTC by Michael Carter
Modified: 2014-02-19 22:13 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 Michael Carter 2014-02-19 15:40:23 UTC
I was helping out someone on StackOverflow[1] and came across an odd error. When creating a project using the Android Ice Cream Sandwich project template, it references Mono.Android v2.2. Changing the Target API has no effect.

When I looked at the .csproj file, it was missing the <TargetFramework/> element.

If I create a new project using the standard Android Application project template, it now references Mono.Android 4.3.

I looked at the .csproj file and this time it has <TargetFrameworkVersion>v4.3</TargetFrameworkVersion>.

This seems like a bug in the Ice Cream Sandwich template.

This error occurs in Xamarin Studio v4.2.2 (build 2).

[1] http://stackoverflow.com/questions/21844465/unable-to-implement-calendarcontract-w-xamarin-android/21867363#21867363
Comment 1 Mikayla Hutchinson [MSFT] 2014-02-19 22:13:07 UTC

*** This bug has been marked as a duplicate of bug 17193 ***