I just finished downloading and installing Visual Studio 2015 Enterprise with Update 2 via my MSDN
subscription. I saw the news from Build indicating that Xamarin
is now free with Visual Studio Enterprise, but I am getting the following Licensing error:
1>------ Build started: Project: App1.Droid, Configuration: Debug Any CPU ----- 1>C:\Users\Parrot\Projects\App1\App1\App1.Droid\Properties\AndroidManifest.xml : warning XA0101: @(Content) build action is not supported 1> App1.Droid -> C:\Users\Parrot\Projects\App1\App1\App1.Droid\bin\Debug\App1.Droid.dll 1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(379,5): mandroid error XA9005: User code size, 2945919 bytes, is larger than 131072 and requires aáBusinessá(or higher) License. 1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(379,5): mandroid error XA9006: Using type `Android.Runtime.JNIEnv` requiresáBusinessá(or higher) License. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== ========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
I've already tried logging out of Visual Studio and restarting it, but I still see this error.
You definitely shouldn't be getting licensing errors with the newest tooling. If you already had Xamarin installed in Visual Studio before updating to Visual Studio 2015 Update 2, you may be on an older version of Xamarin for Visual Studio.
Only the latest version of Xamarin for Visual Studio will allow you to work in Visual Studio without a traditional Xamarin license. Can you ensure that you have version 4.0.3.214 installed? You should be able to find that information via "Help -> About Microsoft Visual Studio -> Copy Info [button]"
Any version older than that will need to be updated. You can follow the instructions for Visual Studio here to check your updater channel and force a check for updates.
Version 4.0.3.214 is currently in both Beta and Stable channels.
Also ensure that you have installed the latest Xamarin bits on the Mac build host that you are using. The error may come from there instead of Visual Studio.
I use Visual Studio 2015 Update 2, but in Tool => Option => Xamarin => Other i choose Alpha and Visual Studio installed Alpha version. Now i choose Stable => Visual studio auto install Xamarin Stable version => Work like charm! :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With