Bug 36464 - "Bundling assemblies requires a Enterprise license." error when the option is not enabled
Summary: "Bundling assemblies requires a Enterprise license." error when the option is...
Status: RESOLVED ANSWERED
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 6.0.0
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2015-12-02 11:20 UTC by Adam Hartley [MSFT]
Modified: 2015-12-02 18:25 UTC (History)
3 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 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 ANSWERED

Description Adam Hartley [MSFT] 2015-12-02 11:20:27 UTC
## Overview

Creating an Android app from https://tryappservice.azure.com/ gives the error "Bundling assemblies requires a  Enterprise  license." when building even though the embedded assemblies option is not enabled in the Android Build settings.

## Steps to reproduce

(Project is attached)

1. Go to https://tryappservice.azure.com/ 
2. Select Mobile App
3. Select Xamarin CRM app
4. Select Xamarin Android
5. Download the Xamarin Android client app
6. Build in Xamarin Studio

## Expected result

App should be with no errors.

## Actual result

"error XA9004: Bundling assemblies requires a  Enterprise  license."

https://gist.github.com/BytesGuy/7c7449869887154ea1b4

## Notes

The error message contains a grammatical error and should be "Bundling assemblies requires an Enterprise license."

=== Xamarin Studio ===

Version 5.10 (build 871)
Installation UUID: 11a26d86-0d21-407a-8da9-8c197ecc0ad1
Runtime:
	Mono 4.2.1 (explicit/6dd2d0d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010102

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 7.1.1 (9081)
Build 7B1005

=== Xamarin.iOS ===

Version: 9.2.1.51 (Business Edition)
Hash: 3c0ec35
Branch: master
Build date: 2015-11-12 13:05:39-0500

=== Xamarin.Android ===

Version: 6.0.0.34 (Business Edition)
Android SDK: /Users/Adam/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.0   (API level 21)
		6.0   (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.1

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.4.0.109 (Business Edition)

=== Build Information ===

Release ID: 510000871
Git revision: 4e9c5abb5ffdae12ba02ac49da83f8b2011dbb88
Build date: 2015-11-12 06:02:54-05
Xamarin addins: 55007ed0e56436f385d8e26394a45be563abc7e8
Build lane: monodevelop-lion-cycle6

=== Operating System ===

Mac OS X 10.11.1
Darwin Adams-Retina-MacBook-Pro.local 15.0.0 Darwin Kernel Version 15.0.0
    Sat Sep 19 15:53:46 PDT 2015
    root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
Comment 2 Brendan Zagaeski (Xamarin Team, assistant) 2015-12-02 18:23:43 UTC
Embed assemblies _is_ enabled in that sample project. If you look in the text of the `.csproj` file under the Debug PropertyGroup:

> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">


You'll see that the "embed assemblies" property is present:

> <BundleAssemblies>true</BundleAssemblies>



## To remove the property

1. Open the project options in Xamarin Studio.

2. Navigate to the "Android Build" section.

3. Dismiss the "Bundling assemblies into native code with Xamarin.Android requires Enterprise edition" activation dialog.

4. Click "OK" at the bottom right of the project options dialog to save the project options.


(Step 3 is perhaps a little "inelegant," but these steps do accomplish the desired result.)


I think this bug can likely be marked "resolved answered" based on this comment, but please do reopen if the above information does not address the issue. Thanks!