Run method missing in xaml class

Clash Royale CLAN TAG#URR8PPPRun method missing in xaml class
I am using F# and XAML in order to create a GUI but unfortunately after creating the type for the xaml I don't have a run method available. What am I missing here?
code :
module Program
open FsXaml
open System
type App = XAML<"App.xaml">
[<STAThread>]
[<EntryPoint>]
let main argv =
let app = App()
app.Run()
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.