-
Notifications
You must be signed in to change notification settings - Fork 77
Conversation
Adjusted for new API changes in FsXaml.
@@ -11,7 +11,7 @@ open FSharp.ViewModule.Progress | |||
open FSharp.ViewModule.Validation | |||
open System.Threading | |||
|
|||
type RenameDialog = FsXaml.XAML<"RenameDialog.xaml"> | |||
type RenameDialog = FsXaml.XAML<"RenameDialog.xaml", true> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does 'true' mean in this context? Could you add the argument name so that the purpose is clear?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. It exposes the named properties in the XAML file as properties on the RenameDialog type.
Which dialog? It sounds like, for some reason, you've got mixed assembly On Thu, Oct 30, 2014 at 3:40 PM, Anh-Dung Phan [email protected]
|
I've got that error on all three dialogs. Just double check versions of FsXaml.Wpf and FsXaml.Wpf.TypeProvider. They're both in 0.9.9. |
@dungpa I can't duplicate - I just did a full rebuild, and installed the release version, in case it was a debug/release issue - working perfectly here. Debugging worked for me to change and test, too. The only way that message makes sense is if it's loading 0.9.8 or earlier of the core library (FsXaml.Wpf) somehow. Any ideas of what might be different? I'm in VS 2013. (Just trying to think of anything different at all...) |
I ran F5 from the Debug configuration. It's the issue with type provider caches. I have to uncheck all the cache items and recheck the exact location (it has changed several times due to Paket) and rebuild everything. Now it works fine. Sorry for the false alert. |
Adjusted for new API changes in FsXaml.