FS2024 Static linking error when PCL project use by TypeProvider
问题 It's trying to make a TypeProvider for Xamarin.Forms, but has been plagued by FS2024 error. Parse own library from the XAML of Xamarin.Forms Assign x:Name to Propertis `F# type MainPage = Moonmile.XamarinFormsTypeProvider.XAML<"MainPage.xaml"> // made btn1 and text1 propertis type MainPageEx(target:MainPage) = let mutable count = 0 do // When set event to btn.Clicked, happen FS2024 error. // If this event is comment out, it success build. target.btn1.Clicked.Add( fun e -> count <- count + 1