Method not found in Xamarin forms UIKit.UIColor UIKit.UIColor.get_SystemBlueColor() - xamarin.forms

If I run my application in IOS simulator I got error in AppDelegate classenter image description here
on global::Xamarin.Forms.Forms.Init(); this line.
Error is
System.MissingMethodException: Method not found: UIKit.UIColor UIKit.UIColor.get_SystemBlueColor()
at Xamarin.Forms.Forms.Init () [0x0000e] in D:\a\1\s\Xamarin.Forms.Platform.iOS\Forms.cs:127
at IsowheyFit.iOS.AppDelegate.FinishedLaunching (UIKit.UIApplication app, Foundation.NSDictionary options) [0x0001c] in /Users/adequateinfosoft/Downloads/isowhey-fit/IsowheyFit/IsowheyFit.iOS/AppDelegate.cs:31
at at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.10.0.157/src/Xamarin.iOS/UIKit/UIApplication.cs:86
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.10.0.157/src/Xamarin.iOS/UIKit/UIApplication.cs:65
at IsowheyFit.iOS.Application.Main (System.String[] args) [0x00001] in /Users/adequateinfosoft/Downloads/isowhey-fit/IsowheyFit/IsowheyFit.iOS/Main.cs:17

Related

Could not resolve type with token 0100004b from typeref (expected class 'Windows.UI.Xaml.IDependencyObjectInternal' in assembly 'Uno.UI

**System.Reflection.TargetInvocationException:** 'Exception has been thrown by the target of an invocation.'
[mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not resolve type with token 0100004b from typeref (expected class 'Windows.UI.Xaml.IDependencyObjectInternal' in assembly 'Uno.UI, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null')
[mono-rt] at Uno.Material.GlobalStaticResources.get_mergedpages_c69cbc6d79c924ed978294ad194451a9_ResourceDictionary () [0x00000] in /_/src/library/Uno.Material/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/mergedpages_c69cbc6d79c924ed978294ad194451a9.cs:5572
[mono-rt] at Uno.Material.GlobalStaticResources+<>c.<RegisterResourceDictionariesBySource>b__21_3 () [0x00000] in /_/src/library/Uno.Material/Uno.UI.SourceGenerators/Uno.UI.SourceGenerators.XamlGenerator.XamlCodeGenerator/GlobalStaticResources.cs:86
[mono-rt] at Uno.UI.ResourceResolver.RetrieveDictionaryForSource (System.String source, System.String currentAbsolutePath) [0x00033] in C:\a\1\s\src\Uno.UI\UI\Xaml\ResourceResolver.cs:395
[mono-rt] at Uno.UI.ResourceResolver.RetrieveDictionaryForSource (System.Uri source) [0x0000e] in C:\a\1\s\src\Uno.UI\UI\Xaml\ResourceResolver.cs:373
[mono-rt] at Windows.UI.Xaml.ResourceDictionary.set_Source (System.Uri value) [0x00008] in C:\a\1\s\src\Uno.UI\UI\Xaml\ResourceDictionary.cs:41
[mono-rt] at Uno.Material.MaterialResources..ctor () [0x00006] in /_/src/library/Uno.Material/MaterialResources.cs:20
[mono-rt] at PKWeb.App.InitializeComponent () [0x000c4] in D:\Code\PubcastX\PKWeb\PKWeb.Droid\obj\Debug\100\g\XamlCodeGenerator\App_b72683a29305e1829dde434ca5f6ae82.g.cs:79
[mono-rt] at PKWeb.App..ctor () [0x00013] in D:\Code\PubcastX\PKWeb\PKWeb.Droid\App.xaml.cs:41
[mono-rt] at PKWeb.Droid.Application+<>c.<.ctor>b__0_0 () [0x00000] in D:\Code\PubcastX\PKWeb\PKWeb.Droid\Main.cs:26
[mono-rt] at Windows.UI.Xaml.NativeApplication..ctor (Windows.UI.Xaml.NativeApplication+AppBuilder appBuilder, System.IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer) [0x00008] in C:\a\1\s\src\Uno.UI\UI\Xaml\NativeApplication.cs:36
[mono-rt] at PKWeb.Droid.Application..ctor (System.IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer) [0x00000] in D:\Code\PubcastX\PKWeb\PKWeb.Droid\Main.cs:26
[mono-rt] at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
[mono-rt] at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/mcs/class/corlib/System.Reflection/RuntimeMethodInfo.cs:936
[mono-rt] --- End of inner exception stack trace ---
[mono-rt] at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.1(intptr,intptr)
[mono-rt] at (wrapper native-to-managed) Android.Runtime.DynamicMethodNameCounter.1(intptr,intptr)
[libFrameRecord] unloaded from PKWeb.PKWeb
[RefBase] RefBase: Explicit destruction, weak count = 0 (in 0x723994a668)
[RefBase] #00 pc 00000000000ee07c /apex/com.android.runtime/lib64/bionic/libc.so (__cxa_finalize+148)
[RefBase] #01 pc 00000000000e942c /apex/com.android.runtime/lib64/bionic/libc.so (exit+24)
[RefBase] #02 pc 000000000015d32c /data/app/~~F0g8MSuR6MXJTfc9YqKfhw==/PKWeb.PKWeb-ENdkEe8ibO3BuFaUJ96fGA==/lib/arm64/libmonosgen-2.0.so (mono_invoke_unhandled_exception_hook+424)
This happens when I run my application on Android.
BTW.
I am new to Uno. And also new to Windows UWP,WinUI3,etc. I am very confused about assemblies referenced in Uno project.

How to fix SIGABRT crash in Xamarin Forms

StackTrace:
NavigationRenderer+ParentingViewController.Dispose (System.Boolean disposing)
NSObject.Dispose ()
NavigationRenderer.Dispose (System.Boolean disposing)
NSObject.Dispose ()
DisposeHelpers.DisposeModalAndChildRenderers (Xamarin.Forms.Element view)
IDisposable.Dispose ()
FormsApplicationDelegate.UpdateMainPage ()
FormsApplicationDelegate.ApplicationOnPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs args)
BindableObject.OnPropertyChanged (System.String propertyName)
Element.OnPropertyChanged (System.String propertyName)
Application.set_MainPage (Xamarin.Forms.Page value)
PageModelCoreMethods.SwitchOutRootNavigation (System.String navigationServiceName)
BasePageModel.<NavigateToLoginPage>b__74_0 () // I think the problem is in this method
NSAsyncActionDispatcher.Apply ()
(wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate)
UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName)
Application.Main (System.String[] args)
This is the stack trace for a SIGABRT crash I'm getting in my iOS app using Xamarin.Forms 4.4.
I think the issue is coming from this method:
async protected virtual Task<bool> NavigateToLoginPage()
{
await LoginProvider.Clear();
Platform.BeginInvokeOnMainThread( () =>
{
CoreMethods.SwitchOutRootNavigation(CoreApp.LoginNavigationStack);
});
return true;
}
because it's the last method that was called before the crashing II'm assuming but I'm not sure how to fix it. I've looked at some solutions online like:
MonoTouch SIGSEGV crash using navigationcontroller and searchdisplaycontroller and https://forums.xamarin.com/discussion/6546/finding-the-cause-of-sigsegv which I think are related, but they don't match my case exactly..
Does anybody know what to do about this?
Thanks!

Problem while enabling Migration ASP.NET MVC5 on MAC

I'm trying to enable migration on my ASP.net project on Rider.
when I click on Enable Migration the Migration folder is created the configuration.cs file is also created but i get this message:
11:42:16.760 |I| EntityFrameworkRunnerProgram | :1 | Using EntityFramework 6.3.0
11:42:17.674 |E| ScaffoldInitialMigrationRunner| :1 | Inner exception stack trace: System.ArgumentException: Invalid value for key 'attachdbfilename'. at System.Data.SqlClient.SqlConnectionString..ctor (System.String connectionString) [0x00408] in <151ba4fcafea4819819d3594ece183c3>:0 at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions (System.String connectionString, System.Data.Common.DbConnectionOptions previous) [0x00000] in <151ba4fcafea4819819d3594ece183c3>:0 at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup (System.Data.Common.DbConnectionPoolKey key, System.Data.ProviderBase.DbConnectionPoolGroupOptions poolOptions, System.Data.Common.DbConnectionOptions& userConnectionOptions) [0x0003e] in <151ba4fcafea4819819d3594ece183c3>:0 at System.Data.SqlClient.SqlConnection.ConnectionString_Set (System.Data.Common.DbConnectionPoolKey key) [0x00008] in <151ba4fcafea4819819d3594ece183c3>:0 at System.Data.SqlClient.SqlConnection.set_ConnectionString (System.String value) [0x00042] in <151ba4fcafea4819819d3594ece183c3>:0 at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher+<>c.<SetConnectionString>b__8_0 (System.Data.Common.DbConnection t, System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext`1[TValue] c) [0x00007] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1[TInterceptor].Dispatch[TTarget,TInterceptionContext] (TTarget target, System.Action`2[T1,T2] operation, TInterceptionContext interceptionContext, System.Action`3[T1,T2,T3] executing, System.Action`3[T1,T2,T3] executed) [0x0000f] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.SetConnectionString (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext`1[TValue] interceptionContext) [0x00044] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Infrastructure.SqlConnectionFactory.CreateConnection (System.String nameOrConnectionString) [0x00096] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Infrastructure.LocalDbConnectionFactory.CreateConnection (System.String nameOrConnectionString) [0x00077] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Internal.LazyInternalConnection.Initialize () [0x000bd] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Internal.LazyInternalConnection.get_Connection () [0x00000] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Internal.LazyInternalContext.get_Connection () [0x00024] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Infrastructure.DbContextInfo..ctor (System.Type contextType, System.Data.Entity.Infrastructure.DbProviderInfo modelProviderInfo, System.Data.Entity.Internal.AppConfig config, System.Data.Entity.Infrastructure.DbConnectionInfo connectionInfo, System.Func`1[TResult] resolver) [0x000c8] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Infrastructure.DbContextInfo..ctor (System.Type contextType, System.Func`1[TResult] resolver) [0x00012] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Infrastructure.DbContextInfo..ctor (System.Type contextType) [0x00000] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Migrations.DbMigrator..ctor (System.Data.Entity.Migrations.DbMigrationsConfiguration configuration, System.Data.Entity.DbContext usersContext, System.Data.Entity.Internal.DatabaseExistenceState existenceState, System.Boolean calledByCreateDatabase) [0x0006e] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Migrations.DbMigrator..ctor (System.Data.Entity.Migrations.DbMigrationsConfiguration configuration) [0x00000] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Migrations.Design.MigrationScaffolder..ctor (System.Data.Entity.Migrations.DbMigrationsConfiguration migrationsConfiguration) [0x00012] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Migrations.Design.ToolingFacade+ScaffoldRunner.RunCore () [0x00006] in <222b71ed74914d6ebbdbc2b580446023>:0 at System.Data.Entity.Migrations.Design.ToolingFacade+BaseRunner.Run () [0x00000] in <222b71ed74914d6ebbdbc2b580446023>:0
--- EXCEPTION #1/1 [LoggerException]
Message = “
Inner exception stack trace: System.ArgumentException: Invalid value for key 'attachdbfilename'.
at System.Data.SqlClient.SqlConnectionString..ctor (System.String connectionString) [0x00408] in <151ba4fcafea4819819d3594ece183c3>:0
at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions (System.String connectionString, System.Data.Common.DbConnectionOptions previous) [0x00000] in <151ba4fcafea4819819d3594ece183c3>:0
at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup (System.Data.Common.DbConnectionPoolKey key, System.Data.ProviderBase.DbConnectionPoolGroupOptions poolOptions, System.Data.Common.DbConnectionOptions& userConnectionOptions) [0x0003e] in <151ba4fcafea4819819d3594ece183c3>:0
at System.Data.SqlClient.SqlConnection.ConnectionString_Set (System.Data.Common.DbConnectionPoolKey key) [0x00008] in <151ba4fcafea4819819d3594ece183c3>:0
at System.Data.SqlClient.SqlConnection.set_ConnectionString (System.String value) [0x00042] in <151ba4fcafea4819819d3594ece183c3>:0
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher+<>c.<SetConnectionString>b__8_0 (System.Data.Common.DbConnection t, System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext`1[TValue] c) [0x00007] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1[TInterceptor].Dispatch[TTarget,TInterceptionContext] (TTarget target, System.Action`2[T1,T2] operation, TInterceptionContext interceptionContext, System.Action`3[T1,T2,T3] executing, System.Action`3[T1,T2,T3] executed) [0x0000f] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.SetConnectionString (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext`1[TValue] interceptionContext) [0x00044] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Infrastructure.SqlConnectionFactory.CreateConnection (System.String nameOrConnectionString) [0x00096] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Infrastructure.LocalDbConnectionFactory.CreateConnection (System.String nameOrConnectionString) [0x00077] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Internal.LazyInternalConnection.Initialize () [0x000bd] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Internal.LazyInternalConnection.get_Connection () [0x00000] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Internal.LazyInternalContext.get_Connection () [0x00024] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Infrastructure.DbContextInfo..ctor (System.Type contextType, System.Data.Entity.Infrastructure.DbProviderInfo modelProviderInfo, System.Data.Entity.Internal.AppConfig config, System.Data.Entity.Infrastructure.DbConnectionInfo connectionInfo, System.Func`1[TResult] resolver) [0x000c8] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Infrastructure.DbContextInfo..ctor (System.Type contextType, System.Func`1[TResult] resolver) [0x00012] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Infrastructure.DbContextInfo..ctor (System.Type contextType) [0x00000] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Migrations.DbMigrator..ctor (System.Data.Entity.Migrations.DbMigrationsConfiguration configuration, System.Data.Entity.DbContext usersContext, System.Data.Entity.Internal.DatabaseExistenceState existenceState, System.Boolean calledByCreateDatabase) [0x0006e] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Migrations.DbMigrator..ctor (System.Data.Entity.Migrations.DbMigrationsConfiguration configuration) [0x00000] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Migrations.Design.MigrationScaffolder..ctor (System.Data.Entity.Migrations.DbMigrationsConfiguration migrationsConfiguration) [0x00012] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Migrations.Design.ToolingFacade+ScaffoldRunner.RunCore () [0x00006] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Migrations.Design.ToolingFacade+BaseRunner.Run () [0x00000] in <222b71ed74914d6ebbdbc2b580446023>:0
”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.ILoggerEx.LogMessage (JetBrains.Util.ILogger this, JetBrains.Diagnostics.LoggingLevel level, System.String message) [0x00000] in <37ed49b15eea41448b14c541f9d5975f>:0
at JetBrains.Util.ILoggerEx.Error (JetBrains.Util.ILogger this, System.String message) [0x00000] in <37ed49b15eea41448b14c541f9d5975f>:0
at JetBrains.EntityFramework.Runner620.CommandRunnerBase`2[TIn,TOut].JetBrains.EntityFramework.Runner620.ICommandRunner<TIn>.Run (TIn command) [0x00000] in <f05235a6a61b4a789b03405b09b6d17a>:0
at System.Reflection.RuntimeMethodInfo.InternalInvoke (System.Reflection.RuntimeMethodInfo , System.Object , System.Object[] , System.Exception& ) [0x00000] in <b814b509d4ad406fb40c6c93e38929e7>:0
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <b814b509d4ad406fb40c6c93e38929e7>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <b814b509d4ad406fb40c6c93e38929e7>:0
at JetBrains.EntityFramework.Runner620.EntityFrameworkRunnerProgram.Main (System.String[] args) [0x00000] in <f05235a6a61b4a789b03405b09b6d17a>:0
”
11:42:17.753 |E| EntityFrameworkRunnerProgram | :1 | Exception has been thrown by the target of an invocation. Invalid value for key 'attachdbfilename'.
--- EXCEPTION #1/3 [ToolingException]
Message = “Invalid value for key 'attachdbfilename'.”
ExceptionPath = Root.InnerException.InnerException
ClassName = System.Data.Entity.Migrations.Design.ToolingException
HResult = COR_E_EXCEPTION=80131500
Source = EntityFramework
SafeSerializationManager.m_serializedStates.#0 = System.Data.Entity.Migrations.Design.ToolingException+ToolingExceptionState
CLR_SafeSerializationManager_RealType.Data = System.Data.Entity.Migrations.Design.ToolingException
CLR_SafeSerializationManager_RealType.UnityType = 4
CLR_SafeSerializationManager_RealType.AssemblyName = “EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”
StackTraceString = “
at System.Data.Entity.Migrations.Design.ToolingFacade.Run (System.Data.Entity.Migrations.Design.ToolingFacade+BaseRunner runner) [0x00097] in <222b71ed74914d6ebbdbc2b580446023>:0
at System.Data.Entity.Migrations.Design.ToolingFacade.ScaffoldInitialCreate (System.String language, System.String rootNamespace) [0x0001b] in <222b71ed74914d6ebbdbc2b580446023>:0
at JetBrains.EntityFramework.Runner620.ScaffoldInitialMigrationRunner.DoRun (JetBrains.EntityFramework.Features.Commands.EnableMigrationsCommand command) [0x00011] in <f05235a6a61b4a789b03405b09b6d17a>:0
at JetBrains.EntityFramework.Runner620.CommandRunnerBase`2[TIn,TOut].JetBrains.EntityFramework.Runner620.ICommandRunner<TIn>.Run (TIn command) [0x001af] in <f05235a6a61b4a789b03405b09b6d17a>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <b814b509d4ad406fb40c6c93e38929e7>:0
”
I didn't find any solution to get over with this error
if details are needed i'll try to get them for you

xamarin app crashes because of xamforms.controls.calendar

I just updated my MAC system and all packages in my Xamarin Project, now the App always crashes due to the following exception:
Object reference not set to an instance of an object
at XamForms.Controls.iOS.CalendarButtonRenderer.OnElementPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs e) [0x0004a] in :0
at (wrapper delegate-invoke) .invoke_void_object_PropertyChangedEventArgs(object,System.ComponentModel.PropertyChangedEventArgs)
at Xamarin.Forms.BindableObject.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:229
at Xamarin.Forms.Element.OnPropertyChanged (System.String propertyName) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\Element.cs:350
at Xamarin.Forms.BindableObject.ClearValue (Xamarin.Forms.BindableProperty property, System.Boolean fromStyle, System.Boolean checkAccess) [0x000c6] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:96
at Xamarin.Forms.BindableObject.ClearValue (Xamarin.Forms.BindableProperty property) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:48
at Xamarin.Forms.Platform.iOS.VisualElementRenderer1[TElement].Dispose (System.Boolean disposing) [0x0007d] in <db18f72e3204406988680543da513ace>:0
at Xamarin.Forms.Platform.iOS.ViewRenderer2[TView,TNativeView].Dispose (System.Boolean disposing) [0x0005c] in :0
at Xamarin.Forms.Platform.iOS.ButtonRenderer.Dispose (System.Boolean disposing) [0x00064] in D:\a\1\s\Xamarin.Forms.Platform.iOS\Renderers\ButtonRenderer.cs:66
at Foundation.NSObject.Dispose () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.4.0.2/src/Xamarin.iOS/Foundation/NSObject2.cs:147
at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose (System.Boolean disposing) [0x0003f] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:71
at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose () [0x00000] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:39
at Xamarin.Forms.Platform.iOS.VisualElementRenderer1[TElement].Dispose (System.Boolean disposing) [0x00058] in <db18f72e3204406988680543da513ace>:0
at Foundation.NSObject.Dispose () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.4.0.2/src/Xamarin.iOS/Foundation/NSObject2.cs:147
at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose (System.Boolean disposing) [0x0003f] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:71
at Xamarin.Forms.Platform.iOS.VisualElementPackager.Dispose () [0x00000] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:39
at Xamarin.Forms.Platform.iOS.VisualElementRenderer1[TElement].Dispose (System.Boolean disposing) [0x00058] in :0
at Foundation.NSObject.Dispose () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.4.0.2/src/Xamarin.iOS/Foundation/NSObject2.cs:147
at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildRemoved (Xamarin.Forms.VisualElement view) [0x0003e] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:124
at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildRemoved (System.Object sender, Xamarin.Forms.ElementEventArgs e) [0x0000f] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:161
at Xamarin.Forms.Element.OnChildRemoved (Xamarin.Forms.Element child) [0x00007] in D:\a\1\s\Xamarin.Forms.Core\Element.cs:334
at Xamarin.Forms.VisualElement.OnChildRemoved (Xamarin.Forms.Element child) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\VisualElement.cs:750
at Xamarin.Forms.TemplatedView.OnChildRemoved (Xamarin.Forms.Element child) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\TemplatedView.cs:92
at Xamarin.Forms.Layout.OnInternalRemoved (Xamarin.Forms.View view) [0x00012] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:473
at Xamarin.Forms.Layout.InternalChildrenOnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x0002b] in D:\a\1\s\Xamarin.Forms.Core\Layout.cs:436
at System.Collections.ObjectModel.ObservableCollection1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00018] in <429bba1022b24f41b20fdc67c7554c2d>:0
at System.Collections.ObjectModel.ObservableCollection1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedAction action, System.Object item, System.Int32 index) [0x00009] in <429bba1022b24f41b20fdc67c7554c2d>:0
at System.Collections.ObjectModel.ObservableCollection1[T].RemoveItem (System.Int32 index) [0x00021] in <429bba1022b24f41b20fdc67c7554c2d>:0
at System.Collections.ObjectModel.Collection1[T].RemoveAt (System.Int32 index) [0x00027] in :0
at Xamarin.Forms.TemplateUtilities.OnContentChanged (Xamarin.Forms.BindableObject bindable, System.Object oldValue, System.Object newValue) [0x00018] in D:\a\1\s\Xamarin.Forms.Core\TemplateUtilities.cs:63
at Xamarin.Forms.BindableObject.SetValueActual (Xamarin.Forms.BindableProperty property, Xamarin.Forms.BindableObject+BindablePropertyContext context, System.Object value, System.Boolean currentlyApplying, Xamarin.Forms.Internals.SetValueFlags attributes, System.Boolean silent) [0x00120] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:463
at Xamarin.Forms.BindableObject.SetValueCore (Xamarin.Forms.BindableProperty property, System.Object value, Xamarin.Forms.Internals.SetValueFlags attributes, Xamarin.Forms.BindableObject+SetValuePrivateFlags privateAttributes) [0x00173] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:397
at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value, System.Boolean fromStyle, System.Boolean checkAccess) [0x00042] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:334
at Xamarin.Forms.BindableObject.SetValue (Xamarin.Forms.BindableProperty property, System.Object value) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\BindableObject.cs:311
at Xamarin.Forms.ContentView.set_Content (Xamarin.Forms.View value) [0x00000] in D:\a\1\s\Xamarin.Forms.Core\ContentView.cs:11
at XamForms.Controls.Calendar+<>c__DisplayClass89_0.b__0 () [0x00027] in <78f786ab622940c1b06f4cfd4c30dce1>:0
at Foundation.NSAsyncActionDispatcher.Apply () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.4.0.2/src/Xamarin.iOS/Foundation/NSAction.cs:152
at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.4.0.2/src/Xamarin.iOS/UIKit/UIApplication.cs:86
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/13.4.0.2/src/Xamarin.iOS/UIKit/UIApplication.cs:65
at myproject.iOS.Application.Main (System.String[] args) [0x00001] in /Users/lin/Projects/myProject/iOS/Main.cs:12

How to get usefull stack trace from apache mod_mono?

I'm running apache server on Ubuntu, and I'm trying to get a asp site to run. When I go into a page I get a 404 with the following stack trace:
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0021a] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <dca3b561b8ad4f9fb10141d81b39ff45>:0
at Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.get_CompilerName () [0x00019] in <fa43aae1d96f44db88d3b8a258fd9425>:0
at Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.FromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00168] in <fa43aae1d96f44db88d3b8a258fd9425>:0
at Microsoft.CodeDom.Providers.DotNetCompilerPlatform.Compiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00048] in <fa43aae1d96f44db88d3b8a258fd9425>:0
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00014] in <59be416de143456b88b9988284f43350>:0
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x002f5] in <d3ba84a338d241e2ab5397407351c9cd>:0
at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath) [0x00008] in <d3ba84a338d241e2ab5397407351c9cd>:0
at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, System.Boolean debug) [0x00264] in <d3ba84a338d241e2ab5397407351c9cd>:0
at System.Web.Compilation.BuildManager.BuildInner (System.Web.VirtualPath vp, System.Boolean debug) [0x0011c] in <d3ba84a338d241e2ab5397407351c9cd>:0
at System.Web.Compilation.BuildManager.Build (System.Web.VirtualPath vp) [0x00063] in <d3ba84a338d241e2ab5397407351c9cd>:0
at System.Web.Compilation.BuildManager.GetCompiledType (System.Web.VirtualPath virtualPath) [0x00040] in <d3ba84a338d241e2ab5397407351c9cd>:0
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath (System.Web.VirtualPath virtualPath, System.Type requiredBaseType) [0x00012] in <d3ba84a338d241e2ab5397407351c9cd>:0
at System.Web.UI.PageParser.GetCompiledPageInstance (System.String virtualPath, System.String inputFile, System.Web.HttpContext context) [0x00024] in <d3ba84a338d241e2ab5397407351c9cd>:0
at System.Web.UI.PageHandlerFactory.GetHandler (System.Web.HttpContext context, System.String requestType, System.String url, System.String path) [0x00000] in <d3ba84a338d241e2ab5397407351c9cd>:0
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url, System.Boolean ignoreContextHandler) [0x00065] in <d3ba84a338d241e2ab5397407351c9cd>:0
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context, System.String url) [0x00000] in <d3ba84a338d241e2ab5397407351c9cd>:0
at System.Web.HttpApplication+<Pipeline>c__Iterator1.MoveNext () [0x0086b] in <d3ba84a338d241e2ab5397407351c9cd>:0
This stack trace doen't really help me - there is no data as to what line, what parameters where send to the function, and in total - I don't know what resource is missing.
How can I get a better stack trace?
Try to look at the Mono Project.
They have a module for the Apache server called «mod_mono».
Hope this helps.
Try the Mod.Mono
This handles ASP.NET 4.0 (with the exception of Entity Framework).
See the compatibility for more information on what Mono is compatible with.

Resources