【发布时间】:2017-04-04 20:23:41
【问题描述】:
我正在尝试在 Xamarin.Forms(便携式)应用程序中引用 VB.NET DLL。在我的研究过程中,我发现以下帖子可能允许这样做:Xamarin.Android and VB.Net Libraries
我尝试使用链接中提到的“嵌入”解决方法,但 Xamarin.Forms 项目将无法构建,因为它无法加载 Microsoft.VisualBasic 程序集版本 8.0.0.0。
在我的研究过程中,我还发现了以下链接,它应该至少允许在 Xamarin 应用程序中使用一些 VB.NET:https://developer.xamarin.com/guides/cross-platform/application_fundamentals/pcl/portable_visual_basic_net/xamarin-forms/
在站点的底部,有一个“Xamarin.Forms 中 VB.NET 的限制”部分。对于最后一项:“Xamarin 不支持 Visual Basic.NET 语言”,这是否意味着您不能在碰巧也引用 Xamarin.Forms 的任何 Xamarin.Forms(便携式)项目中使用 VB.NET dll .Core、Xamarin.Forms.Platform 和 Xamarin.Forms.Xaml?
感谢您的任何见解!
【问题讨论】:
标签: vb.net xamarin.android xamarin.forms