Bug 30125 - Passcode.Google, can not build in release mode with linker behavior = Link SDK assemblies only
Summary: Passcode.Google, can not build in release mode with linker behavior = Link SD...
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: Production (addons.xamarin.com)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bill Holmes
Depends on:
Reported: 2015-05-15 06:55 UTC by Karen
Modified: 2015-06-04 09:55 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 Karen 2015-05-15 06:55:43 UTC
Passcode.Google, can not build in release mode with linker behavior is set to Link SDK assemblies only.

Can only build release when linker behavior is set to Don't link.

Error I get:

C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(5,5): Error MSB4018: The "LinkAssemblies" task failed unexpectedly.
Xamarin.Android.XamarinAndroidException: error XA2006: Reference to metadata item 'System.Void Android.OS.BaseBundle::PutIntArray(System.String,System.Int32[])' (defined in 'Passcode.Google, Version=, Culture=neutral, PublicKeyToken=null') from 'Passcode.Google, Version=, Culture=neutral, PublicKeyToken=null' could not be resolved. ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void Android.OS.BaseBundle::PutIntArray(System.String,System.Int32[])
   at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
   at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
   at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
   at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
   at Mono.Linker.Steps.MarkStep.ProcessQueue()
   at Mono.Linker.Steps.MarkStep.Process()
   at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
   at Mono.Linker.Pipeline.Process(LinkContext context)
   at MonoDroid.Tuner.Linker.Process(LinkerOptions options, LinkContext& context)
   at Xamarin.Android.Tasks.LinkAssemblies.Execute()
   --- End of inner exception stack trace ---
   at Xamarin.Android.Diagnostic.Error(Int32 code, Exception innerException, String message, Object[] args)
   at Xamarin.Android.Tasks.LinkAssemblies.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() (MSB4018) (GRMSVISTab)
Comment 1 Bill Holmes 2015-05-19 09:56:48 UTC
This component is not maintained by Xamarin.

The website for Passcode.Google is listed as http://www.kevinskrei.com/ .  I was able to find this repo which I believe is what you want to look at.  Maybe you can file an issue there.

Comment 2 Karen 2015-05-20 02:44:46 UTC
I did contact Kevin Skrei. He is not replying to my emails. I did download the latest code from github. And I am still having the problem.

So Xamarin take no responsibility for the components in their component store?
Comment 3 Bill Holmes 2015-06-04 09:55:37 UTC
Xamarin does maintain over 100 components in the store.  Many others are submitted and maintained by third party developers.  

I can confirm that Xamarin does not maintain Passcode.