fsprojects / FsXaml

F# Tools for working with XAML Projects
http://fsprojects.github.io/FsXaml/
MIT License
171 stars 48 forks source link

Update Type Provider SDK to current master #77

Open allykzam opened 5 years ago

allykzam commented 5 years ago

Making the change to the new SDK bits introduces design-time errors, throwing System.ArgumentException with Incorrect instance type Parameter name: obj (as mentioned in the commits). This pull request fixes this regression using Expr.Coerce based on personal experience working with recent versions of the Type Provider SDK.