Bug 19960 - Cannot disable "embed assemblies" for Android apps
Summary: Cannot disable "embed assemblies" for Android apps
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: 5.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Greg Munn
Depends on:
Reported: 2014-05-21 10:43 UTC by René Ruppert
Modified: 2014-05-23 01:34 UTC (History)
3 users (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 René Ruppert 2014-05-21 10:43:57 UTC
If an Android project has "embed assemblies" enabled and you do not have an Enterprise license, you cannot disable the option. A dialog will pop up and ask you to log in with an Enterprise account.
If you cancel, the checkbox will be untucked but the value is still set.

Manually changing the csproj file helps:


=== Xamarin Studio ===

Version 5.0 (build 866)
Installation UUID: 220dde4a-6e9c-4c80-a89e-6ef72bea0759
	Mono 3.4.0 ((no/c3fc3ba)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 304000204

=== Apple Developer Tools ===

Xcode 5.1.1 (5085)
Build 5B1008

=== Xamarin.iOS ===

Version: (Starter Edition)
Hash: 9e24c88
Build date: 2014-05-12 19:42:16-0400

=== Xamarin.Android ===

Version: 4.12.4 (Starter Edition)
Android SDK: /Users/rene/Library/Developer/Xamarin/android-sdk-mac_x86
	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.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

=== Xamarin.Mac ===

Xamarin.Mac: Not Installed

=== Build Information ===

Release ID: 500000866
Git revision: 89cfcdd28a9a64d4ddc606f8c4f8e6aaafad610a
Build date: 2014-05-12 14:59:13-04
Xamarin addins: e92a35a9280dede5cbdceaaec0c40c06c163546e

=== Operating System ===

Mac OS X 10.9.3
Darwin imacbuero.fritz.box 13.2.0 Darwin Kernel Version 13.2.0
    Thu Apr 17 23:03:13 PDT 2014
    root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
Comment 1 Udham Singh 2014-05-22 02:34:12 UTC
We have checked and observing same behavior.

Enabled Android project "embed assemblies" option with Enterprise. Now if user switches to non enterprise account and opens  Android Build window, Trigger pop up appears. User can close this pop up and on revisit Trigger pop up reappears.
On cancelling the trigger  "embed assemblies" check box is displayed unchecked.

If in .csproj file '<BundleAssemblies>true</BundleAssemblies>' is modified to
<BundleAssemblies>false</BundleAssemblies> the trigger goes away and doesn't appear on opening Android Build widow and user having non enterprise account.

Screencast for this: http://www.screencast.com/t/4Ij0BhI6A

IDE Log: https://gist.github.com/saurabh360/6abd5fb566e600a4db76

Environment Info: 
Xamarin Studio Version 4.2.5 (build 0)
Git revision: 95ac543f224a70960a9ab71e24ce341eb87de06f
Xamarin addins: b81285ac0156281956135adb96685f98922893a1
Xamarin.Android Version: