The type or namespace name 'Xamarin' missing error in Xamarin Studio

后端 未结 16 1565
陌清茗
陌清茗 2020-12-15 04:21

I\'m getting this error:

\"MyApp\\App.cs(7,7): Error CS0246: The type or namespace name \'Xamarin\' could not be found (are you missing a using di

相关标签:
16条回答
  • 2020-12-15 04:41

    Select the solution & right click Go to Restore Manage Nuget Packages

    0 讨论(0)
  • 2020-12-15 04:47

    I went to Visual Studio Installer and installed .Net classic apps package (sorry, i don't know exact name, because i have russian version) And it helped me.

    0 讨论(0)
  • 2020-12-15 04:48

    After removing/reading Xamarin.Forms NuGet package two times and hot having this fixed, I had restarted my Visual Studio(15.9.0) and it worked. This was a brand new solution I created and started having this issue immediately.

    0 讨论(0)
  • 2020-12-15 04:53

    I had to uninstall and reinstall Nuget Xamarin.Forms in both the Android and PCL library.

    0 讨论(0)
提交回复
热议问题