uploaded build to azure test site.
<a class="postlink" href="https://aspnetzeroversion5.azurewebsites.net/">https://aspnetzeroversion5.azurewebsites.net/</a>
updated Xamarin app base url to the site : <a class="postlink" href="https://aspnetzeroversion5.azurewebsites.net/">https://aspnetzeroversion5.azurewebsites.net/</a>
4 Answer(s)
-
0
Hi @Mdonogma,
Can you run Xamarin App your dev machine ? Are you running it on a MAC ?
Can you also share stack trace of this exception ?
-
0
Fails on Mac
Screenshot is from dev machine
All I did was point the URL to your demo site plus tried against my own deployment of 5.01 and both failed
-
0
<cite>Mdonogma: </cite> Fails on Mac
Screenshot is from dev machine
All I did was point the URL to your demo site plus tried against my own deployment of 5.01 and both failed
stack trace: at mycompanytest.TestXamarin.Extensions.AbpUserLocalizationConfigDtoExtensions.Localize (Abp.Web.Models.AbpUserConfiguration.AbpUserLocalizationConfigDto userLocalizationConfig, System.String key, System.String source, System.Object[] args) [0x00015] in /Users/michaelmcdonogh/Downloads/TestXamarin/src/mycompanytest.TestXamarin.Mobile.Shared/Extensions/AbpUserLocalizationConfigDtoExtensions.cs:13 at mycompanytest.TestXamarin.Extensions.AbpUserLocalizationConfigDtoExtensions.Localize (Abp.Web.Models.AbpUserConfiguration.AbpUserLocalizationConfigDto userLocalizationConfig, System.String key, System.Object[] args) [0x00001] in /Users/michaelmcdonogh/Downloads/TestXamarin/src/mycompanytest.TestXamarin.Mobile.Shared/Extensions/AbpUserLocalizationConfigDtoExtensions.cs:33 at mycompanytest.TestXamarin.Localization.L.LocalizeInternal (System.String text) [0x00046] in /Users/michaelmcdonogh/Downloads/TestXamarin/src/mycompanytest.TestXamarin.Mobile.Shared/Localization/L.cs:48 at mycompanytest.TestXamarin.Localization.L.Localize (System.String text) [0x00001] in /Users/michaelmcdonogh/Downloads/TestXamarin/src/mycompanytest.TestXamarin.Mobile.Shared/Localization/L.cs:13 at mycompanytest.TestXamarin.Extensions.MarkupExtensions.TranslateExtension.ProvideValue (System.IServiceProvider serviceProvider) [0x00022] in /Users/michaelmcdonogh/Downloads/TestXamarin/src/mycompanytest.TestXamarin.Mobile.Shared/Extensions/MarkupExtensions/TranslateExtension.cs:21 at Xamarin.Forms.Xaml.ApplyPropertiesVisitor.Visit (Xamarin.Forms.Xaml.ElementNode node, Xamarin.Forms.Xaml.INode parentNode) [0x00138] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Xaml\ApplyPropertiesVisitor.cs:120 at Xamarin.Forms.Xaml.ElementNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor visitor, Xamarin.Forms.Xaml.INode parentNode) [0x000ab] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Xaml\XamlNode.cs:149 at Xamarin.Forms.Xaml.RootNode.Accept (Xamarin.Forms.Xaml.IXamlNodeVisitor visitor, Xamarin.Forms.Xaml.INode parentNode) [0x00043] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Xaml\XamlNode.cs:201 at Xamarin.Forms.Xaml.XamlLoader.Visit (Xamarin.Forms.Xaml.RootNode rootnode, Xamarin.Forms.Xaml.HydratationContext visitorContext) [0x0007b] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Xaml\XamlLoader.cs:141 at Xamarin.Forms.Xaml.XamlLoader.Load (System.Object view, System.String xaml) [0x0004b] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Xaml\XamlLoader.cs:89 at Xamarin.Forms.Xaml.XamlLoader.Load (System.Object view, System.Type callingType) [0x0002f] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Xaml\XamlLoader.cs:68 at Xamarin.Forms.Xaml.Extensions.LoadFromXaml[TXaml] (TXaml view, System.Type callingType) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Xaml\ViewExtensions.cs:36 at mycompanytest.TestXamarin.Views.LoginView.InitializeComponent () [0x00001] in /Users/michaelmcdonogh/Downloads/TestXamarin/src/mycompanytest.TestXamarin.Mobile.Shared/C:/TestXamarin/Shared/obj/Debug/netstandard2.0/mycompanytest.TestXamarin.C_.TestXamarin.Shared.obj.Debug.netstandard2._0.Views.LoginView.xaml.g.cs:29 at mycompanytest.TestXamarin.Views.LoginView..ctor () [0x00008] in /Users/michaelmcdonogh/Downloads/TestXamarin/src/mycompanytest.TestXamarin.Mobile.Shared/Views/LoginView.xaml.cs:9 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.3.0.47/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:661 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.3.0.47/src/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:151 at System.Linq.Expressions.Interpreter.ExceptionHelpers.UnwrapAndRethrow (System.Reflection.TargetInvocationException exception) [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.3.0.47/src/mono/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/Utilities.cs:174 at System.Linq.Expressions.Interpreter.NewInstruction.Run (System.Linq.Expressions.Interpreter.InterpretedFrame frame) [0x00026] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.3.0.47/src/mono/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/NewInstruction.cs:39 at System.Linq.Expressions.Interpreter.Interpreter.Run (System.Linq.Expressions.Interpreter.InterpretedFrame frame) [0x00015] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.3.0.47/src/mono/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/Interpreter.cs:63 at System.Linq.Expressions.Interpreter.LightLambda.Run1[T0,TRet] (T0 arg0) [0x0001c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/11.3.0.47/src/mono/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/LightLambda.Generated.cs:53 at Castle.Core.Internal.ReflectionUtil.Instantiate (System.Reflection.ConstructorInfo ctor, System.Object[] ctorArgs) [0x00017] in <9bc369b508044f0a8899ac85b0121f34>:0 at Castle.Core.Internal.ReflectionUtil.Instantiate[TBase] (System.Type subtypeofTBase, System.Object[] ctorArgs) [0x00042] in <9bc369b508044f0a8899ac85b0121f34>:0 at Castle.Core.Internal.ReflectionUtil.CreateInstance[TBase] (System.Type subtypeofTBase, System.Object[] ctorArgs) [0x00006] in <9bc369b508044f0a8899ac85b0121f34>:0 at Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.CreateInstanceCore (Castle.Core.ConstructorCandidate constructor, System.Object[] arguments, System.Type implType) [0x00000] in <9bc369b508044f0a8899ac85b0121f34>:0
-
0
hi,
You cannot use aspnet zero demobackend for your Xamarin app. Error says localization source name is missing. For demo location source name is different then your app expects. Use your own host in your solution.