Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Link problem with SDK and User assemblies

$
0
0

I have a Xaml forms project which runs fin in debug or release mode with no link option set.

However if I link it with the SDK and User assemblies option then it crashes when I run it as shown below:
The missing method is only referred to from the XAML - is the linker not including it? Or how do I resolve the issue?

08-11 17:25:07.015 I/MonoDroid( 1594): UNHANDLED EXCEPTION: Xamarin.Forms.Xaml.XamlParseException: Position 200:14. No method OnresultButtonClicked found on type CelticTicPick.TicPickMainPage
08-11 17:25:07.015 I/MonoDroid( 1594): at Xamarin.Forms.Xaml.BaseValueNode.SetPropertyValue (System.Object xamlelement, XmlName propertyName, System.Object value, Xamarin.Forms.BindableObject rootElement) [0x00000] in :0
08-11 17:25:07.015 I/MonoDroid( 1594): 08-11 17:25:07.015 I/MonoDroid( 1594): at Xamarin.Forms.Xaml.ValueNode.ApplyTo (System.Object source, XmlName propertyName, Boolean dontUseLazy) [0x00000] in :0
08-11 17:25:07.015 I/MonoDroid( 1594): at Xamarin.Forms.Xaml.INodeExtension.ApplyProperties (IElementNode node, System.Object source, Boolean dontUseLazy) [0x00000] in :0
08-11 17:25:07.015 I/MonoDroid( 1594): at Xamarin.Forms.Xaml.ElementNode.ApplyProperties (System.Object source, Boolean dontUseLazy) [0x00000] in :0
08-11 17:25:07.015 I/MonoDroid( 1594): at Xamarin.Forms.Xaml.ElementNode.<.ctor>b__0 () [0x00000] in :0
08-11 17:25:07.015 I/MonoDroid( 1594): at System.Lazy`1[System.Object].InitValue () [0x00000] in :0
Unhandled Exception:

Xamarin.Forms.Xaml.XamlParseException: Position 200:14. No method OnresultButtonClicked found on type CelticTicPick.TicPickMainPage

08-11 17:25:10.931 E/mono ( 1594):
08-11 17:25:10.931 E/mono ( 1594): Unhandled Exception:
08-11 17:25:10.931 E/mono ( 1594): Xamarin.Forms.Xaml.XamlParseException: Position 200:14. No method OnresultButtonClicked found on type CelticTicPick.TicPickMainPage
08-11 17:25:10.931 E/mono ( 1594): at Xamarin.Forms.Xaml.BaseValueNode.SetPropertyValue (System.Object xamlelement, XmlName propertyName, System.Object value, Xamarin.Forms.BindableObject rootElement) [0x00000] in :0
08-11 17:25:10.931 E/mono ( 1594): at Xamarin.Forms.Xaml.ValueNode.ApplyTo (System.Object source, XmlName propertyName, Boolean dontUseLazy) [0x00000] in :0
08-11 17:25:10.931 E/mono ( 1594): at Xamarin.Forms.Xaml.INodeExtension.ApplyProperties (IElementNode node, System.Object source, Boolean dontUseLazy) [0x00000] in :0
08-11 17:25:10.931 E/mono ( 1594): at Xamarin.Forms.Xaml.ElementNode.ApplyProperties (System.Object source, Boolean dontUseLazy) [0x00000] in :0
08-11 17:25:10.931 E/mono ( 1594): at Xamarin.Forms.Xaml.ElementNode.Create (Boolean dontUseLazy) [0x00000] in :0
08-11 17:25:10.931 E/mono ( 1594): at Xamarin.Forms.Xaml.ElementNode.<.ctor>b__0 () [0x00000] in :0
08-11 17:25:10.931 E/mono ( 1594): at System.Lazy

1[System.Object].InitValue () [0x000
08-11 17:25:10.931 E/mono-rt ( 1594): [ERROR] FATAL UNHANDLED EXCEPTION: Xamarin.Forms.Xaml.XamlParseException: Position 200:14. No method OnresultButtonClicked found on type CelticTicPick.TicPickMainPage
08-11 17:25:10.931 E/mono-rt ( 1594):   at Xamarin.Forms.Xaml.BaseValueNode.SetPropertyValue (System.Object xamlelement, XmlName propertyName, System.Object value, Xamarin.Forms.BindableObject rootElement) [0x00000] in <filename unknown>:0 
08-11 17:25:10.931 E/mono-rt ( 1594):   at Xamarin.Forms.Xaml.ValueNode.ApplyTo (System.Object source, XmlName propertyName, Boolean dontUseLazy) [0x00000] in <filename unknown>:0 
08-11 17:25:10.931 E/mono-rt ( 1594):   at Xamarin.Forms.Xaml.INodeExtension.ApplyProperties (IElementNode node, System.Object source, Boolean dontUseLazy) [0x00000] in <filename unknown>:0 
08-11 17:25:10.931 E/mono-rt ( 1594):   at Xamarin.Forms.Xaml.ElementNode.ApplyProperties (System.Object source, Boolean dontUseLazy) [0x00000] in <filename unknown>:0 
08-11 17:25:10.931 E/mono-rt ( 1594):   at Xamarin.Forms.Xaml.ElementNode.Create (Boolean dontUseLazy) [0x00000] in <filename unknown>:0 
08-11 17:25:10.931 E/mono-rt ( 1594):   at Xamarin.Forms.Xaml.ElementNode.<.ctor>b__0 () [0x00000] in <filename unknown>:0 
08-11 17:25:10.931 E/mono-rt ( 1594):   at System.Lazy
1[System.Object].InitVa
The program 'Mono' has exited with code 0 (0x0).

Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>