fsprojects / FsXaml

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

XAML in sub folder doesn't load #76

Closed isaacabraham closed 6 years ago

isaacabraham commented 6 years ago

Description

Perhaps related to #57. A XAML file in a sub-folder compiles, but then fails at runtime with the error

'Unable to load XAML data. Verify that all .xaml files are compiled as "Resource"'

Repro steps

  1. Clone the wpf-sample solution here.
  2. Compile and run the solution (I used VS2017).

Expected behavior

The application runs.

Actual behavior

The application fails with a runtime error.

Known workarounds

Don't use folders.

FoggyFinder commented 6 years ago

Works fine for me (VS2017[15.5.7])

isaacabraham commented 6 years ago

@FoggyFinder are you in the folders branch?

isaacabraham commented 6 years ago

@FoggyFinder ok. I've just cleaned the entire repository and rebuilt from scratch. It works now - don't know why. Maybe something was left in the obj folder or something from earlier. Sorry about that.