升级到 Xamarin.Forms 5 后类型支持不存在
Type Support does not exist after upgrade to Xamarin.Forms 5
我已将 Xamarin.Forms Nuget 包从 4.8.0.1560 更新到 5.0.0.1874。在此之后我得到以下错误:
The type or namespace name 'Support' does not exist in the namespace
'Xamarin.Android' (are you missing an assembly reference?)
The type or namespace name 'Net' does not exist in the namespace
'MyProject.Android' (are you missing an assembly reference?)
The type or namespace name 'Graphics' does not exist in the namespace
'MyProject.Android' (are you missing an assembly reference?)
The type or namespace name 'App' does not exist in the namespace
'MyProject.Android' (are you missing an assembly reference?)
我已经删除了 bin 和 obj 文件夹,清理并重建解决方案,但没有任何效果。
有什么建议吗?
将应用程序从 Xamarin.Forms 4.x 升级到 5.x 所需的步骤由 Microsoft 提供,此处:
https://docs.microsoft.com/en-us/xamarin/xamarin-forms/troubleshooting/questions/forms5-migration
我已将 Xamarin.Forms Nuget 包从 4.8.0.1560 更新到 5.0.0.1874。在此之后我得到以下错误:
The type or namespace name 'Support' does not exist in the namespace 'Xamarin.Android' (are you missing an assembly reference?) The type or namespace name 'Net' does not exist in the namespace 'MyProject.Android' (are you missing an assembly reference?) The type or namespace name 'Graphics' does not exist in the namespace 'MyProject.Android' (are you missing an assembly reference?) The type or namespace name 'App' does not exist in the namespace 'MyProject.Android' (are you missing an assembly reference?)
我已经删除了 bin 和 obj 文件夹,清理并重建解决方案,但没有任何效果。 有什么建议吗?
将应用程序从 Xamarin.Forms 4.x 升级到 5.x 所需的步骤由 Microsoft 提供,此处:
https://docs.microsoft.com/en-us/xamarin/xamarin-forms/troubleshooting/questions/forms5-migration