在我的iOS项目中,我的应用程序在调试模式下启动时崩溃,但在发布时可以正常工作。
Xamarin Forms : 1.3 Xamarin Forms Labs 1.2.1 PRE2
我的错误:
Exception has been thrown by the target of an invocation.
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00016] in /Developer/MonoTouch/Source/mono/mcs
我试图通过Xamarin.Mobile在一个PCL iOS项目中安装NuGet,而我正在处理这个错误!
无法安装软件包‘xamstore-xamstore.移动0.7.1’。您正在尝试将此包安装到目标为“Xamarin.iOS,Version=v1.0”的项目中,但该包不包含任何与该框架兼容的程序集引用或内容文件。有关更多信息,请与包作者联系。
这是我的AppDelegate
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Int
好的,我在一个自动生成的文件中得到一个构建错误。文件显示在底部的错误语句中。
我添加了语句来查看UIKit下的红色是否会消失,但它没有消失。
#if __IOS__
using Xamarin.Forms.Platform.iOS;
using UIKit;
#elif __ANDROID__
using Xamarin.Forms.Platform.Android;
using Android.Graphics;
using Android.Widget;
#endif
--在自动生成文件中,UIKit:发生错误
[System.Co
我正在尝试实现导航抽屉/母版详细信息,但得到了这个错误,但是我看到我的代码还好,我甚至将我的Xamarin.Forms升级到2.4,但仍然面临这个错误:
local:MasterPage not found in xmlns clr-namespace:Diabetics;assembly=Diabetics
完整错误列表:
Xamarin.Forms.Xaml.XamlParseException: Position 7:6. Type local:MasterPage not found in xmlns clr-namespace:Diabetics;assembly=Diabetics
我正在使用带有Xamarin的Visual Studio 2015社区版。我有一个Xamarin表单项目。现在我想测试添加一个PCL和一个共享库。我可以看到解决方案->添加->新项目,显示了一些模板。这里列出的是一个类库(Xamarin Forms),它必须是PCL。我想知道的是共享类库在哪里。Xamarin Studio for iOS似乎以不同的方式显示了这些内容。我可以选择在" library“菜单项下创建PCL或共享库。有了Visual Studio,这就更加令人困惑了。我可以清楚地看到,有空白应用程序(便携)和空白应用程序共享的全新项目的模板,但这不是我想要的。我