Duplicate Xaml Compilation Attribute error

ziggyziggy Member ✭✭
edited March 23 in Xamarin.Forms

Hello, I added the following code in my code "[assembly: XamlCompilation(XamlCompilationOptions.Compile)]" and I get the duplicate Xaml
Compilation Attribute error. Any reason why?

 using Xamarin.Forms.Xaml;

 [assembly: XamlCompilation(XamlCompilationOptions.Compile)]

 namespace QuickFlicks
 {
     public partial class MainPage : ContentPage
     {
         public MainPage()
         {
             InitializeComponent();
         }
     }
 }

Best Answer

Answers

Sign In or Register to comment.