Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# System.TypeLoadException:无法解析带有标记01000115的类型_C#_Xamarin_Xamarin.forms_Visual Studio 2017 - Fatal编程技术网

C# System.TypeLoadException:无法解析带有标记01000115的类型

C# System.TypeLoadException:无法解析带有标记01000115的类型,c#,xamarin,xamarin.forms,visual-studio-2017,C#,Xamarin,Xamarin.forms,Visual Studio 2017,异常未处理 System.TypeLoadException:无法解析带有标记01000115的类型 (来自typeref,类别/组件) Xamarin.Forms.Xaml.XamlResourceIdAttribute,Xamarin.Forms.Core 代码: protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResour

异常未处理

System.TypeLoadException:无法解析带有标记01000115的类型 (来自typeref,类别/组件) Xamarin.Forms.Xaml.XamlResourceIdAttribute,Xamarin.Forms.Core

代码:

protected override void OnCreate(Bundle bundle) {
    TabLayoutResource = Resource.Layout.Tabbar;
    ToolbarResource = Resource.Layout.Toolbar;
    base.OnCreate(bundle);
    global::Xamarin.Forms.Forms.Init(this, bundle);
    LoadApplication(new App());
}

它出现在行
global::Xamarin.Forms.Forms.Init(这个,bundle)

上,永远不要发布代码的图像。尽可能少的努力将其复制到问题中…删除bin和obj文件夹,清理、重建并重试。如果仍然失败,请将输出窗口设置为“详细”并检查是否可以找到有关异常的更多信息,以及可能的重复项