Forum Visual Studio

shared project label,switch controls give android only compile error

wtfinkwtfink USMember ✭✭

Severity Code Description Project File Line Suppression State
Error CS0104 'Label' is an ambiguous reference between 'Xamarin.Forms.Label' and 'System.Reflection.Emit.Label' DIYMedicalView.Android, DIYMedicalView.iOS C:\svn\DIYApps\DIYMedicalView\DIYMedicalView\DIYMedicalView\Views\Scenario5_SettingsTabbed.xaml.cs 22 Active

xamarin forms shared project docs says these controls are valid. The error occurs on new Label() and new Switch() in mt tabbed page code behind xaml.

Sign In or Register to comment.