Bug 17247 - Adding Azure Mobile Services component triggers System.ServiceModel license check
Summary: Adding Azure Mobile Services component triggers System.ServiceModel license c...
Status: CONFIRMED
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 4.10.1
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2014-01-15 08:33 UTC by RIchard Harding
Modified: 2014-07-30 18:17 UTC (History)
7 users (show)

Tags:
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 for Bug 17247 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description RIchard Harding 2014-01-15 08:33:08 UTC
In Xamarain studio (windows) with an Indie license, add the Azure mobile services component to a new android project and build - an error dialog is shown - "Your app is using an assembly that requires Xamarin.Android Business edition or higher" the assembly listed is System.SerivceModel

As far as I can tell the project does not reference that assembly and when I examine the azure mobile services component it does not appear to reference the System.SerivceModel

This may be related to the previously reported Portable class librarie issue 13370
Comment 1 RIchard Harding 2014-01-15 08:34:38 UTC
I also tried the Alpha channel 4.11.0 and had the same problem
Comment 2 Mohit Kheterpal 2014-01-16 06:24:58 UTC
Today we have tried to reproduce this issue but we are unable to reproduce this.

[Condition] Indie license on disk
We have followed following steps :
1. Create Android sample application
2. Add Azure mobile services component
3. Build the project

Observed that project is build successfully with Indie license.

Screencast : http://screencast.com/t/lfO7fyLoe

Could you please correct our steps, if we have followed wrong steps to reproduce this issue?
Comment 3 RIchard Harding 2014-01-16 15:14:46 UTC
I looked at your screencast and one difference I noted is the version of the azure mobile services component - I'm using what I think is the current 1.1 version? your example is I think 1.04?

I've recorded a screen cast of my own to show the issue: http://screencast.com/t/rGynLHqtIo6
Comment 4 RIchard Harding 2014-01-17 11:42:19 UTC
added more info on how to reproduce
Comment 5 RIchard Harding 2014-01-22 12:12:04 UTC
updated beta and issue is still present - from help about:

=== Xamarin Studio ===

Version 4.2.2 (build 2)
Installation UUID: 2800dd40-1f62-4f42-baa2-2dd050133fdf
Runtime:
	Microsoft .NET 4.0.30319.34003
	GTK+ 2.24.22 theme: MS-Windows
	GTK# (2.12.0.0)

=== Xamarin.Android ===

Version: 4.10.2 (Indie Edition)
Android SDK: C:\Users\richard\AppData\Local\Android\android-sdk
	Supported Android versions:
		1.6   (API level 4)
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_39
java version "1.6.0_39"
Java(TM) SE Runtime Environment (build 1.6.0_39-b04)
Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing)

=== Build Information ===

Release ID: 402020002
c5f82958ae7d9af652b44b87ceff777b3ad19b91
Build date: 2013-11-19 10:28:29Z
Xamarin addins: a4044fee09138f6fd031a9944b7caaeb51e57e80

=== Operating System ===

Windows 6.2.9200.0 (64-bit)
Comment 7 Tormentor 2014-02-02 17:34:38 UTC
Conditions to recreate consistently, and always:

- Android Indie - Windows 4.2.3 (see below)
- Create Android Ice Cream Sandwich app
- Add Azure Mobile Services 1.1.0

Compile, and you are prompted to upgrade to business because supposedly "Your app is using an assembly that requires Xamarin.Android Business
edition or higher" : System.SerivceModel



======= Azure Mobile Services 1.1.0 =============
Microsoft.WindowsAzure.Mobile  1.0.0.0
Microsoft.WindowsAzure.Mobile  0.0.0.0
Newtonsoft.Json                4.5.0.0
Xamarin.Auth.Android           1.2.2.0



====================================================
Xamarin Studio
Version 4.2.3 (build 51)
Installation UUID: 26ad7c06-4b6f-47a3-8797-187245397a34
Runtime:
	Microsoft .NET 4.0.30319.34003
	GTK+ 2.24.22 theme: MS-Windows
	GTK# (2.12.0.0)

Xamarin.Android
Version: 4.10.2 (Indie Edition)
Android SDK: C:\DEVEL\Android\ADT\sdk
	Supported Android versions:
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: C:\Program Files\Java\jdk1.6.0_43
java version "1.6.0_43"
Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)

Build Information
Release ID: 402030051
2af56f42cece946c6cc4b354b81ab33db7027644
Build date: 2014-01-21 11:02:52Z
Xamarin addins: acef762ac62531735b30a227e80b38c4d7607ed9

Operating System
Windows 6.2.9200.0 (64-bit)
Comment 9 Brendan Zagaeski (Xamarin Team, assistant) 2014-02-12 17:35:49 UTC
I can reproduce this with Xamarin.Android 4.10.2, but not with the latest beta (version 4.12.0). I suspect this is indeed a duplicate of bug 13370.

## Version info

### Component
Azure Mobile Services 1.1.0


### Xamarin
Version 4.2.3 (build 54)
Installation UUID: 55489bdb-ae80-4e0f-8844-babec5a14228
Runtime:
	Microsoft .NET 4.0.30319.34003
	GTK+ 2.24.22 theme: MS-Windows
	GTK# (2.12.0.0)

Xamarin.Android
Version: 4.12.0 (Indie Edition)
Android SDK: C:\Users\Brendan\AppData\Local\Android\android-sdk
	Supported Android versions:
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.1   (API level 16)
		4.2   (API level 17)
		4.3   (API level 18)
Java SDK: C:\Program Files (x86)\Java\jdk1.6.0_39
java version "1.6.0_39"
Java(TM) SE Runtime Environment (build 1.6.0_39-b04)
Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode)

Build Information
Release ID: 402030054
f3fd2a8582693cd1728166bcfc17056235cb5b05
Build date: 2014-02-03 12:12:43Z
Xamarin addins: b992974cc7bee7713bba6abaf2b4fac94e67dd1c

Operating System
Windows 6.2.9200.0 (64-bit)
Comment 11 Atsushi Eno 2014-07-30 18:17:30 UTC
How did any of you install Azure mobile services 1.1.0? I could only find 1.0.4.