fsprojects / FsXaml

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

XAML fails to load at run-time if it's in a sub-folder #57

Closed brianberns closed 7 years ago

brianberns commented 7 years ago

If the target XAML file is located in a sub-folder, it can be accessed at compile-time, but not at run-time.

type MyView = FsXaml.XAML<"Views\MyView.xaml">

Error message: The specified resource name "views\myview.xaml" does not exist in the resource file.

ReedCopsey commented 7 years ago

@brianberns What happens if you use "Views/MyView.xaml" instead?

brianberns commented 7 years ago

That works! Thanks.