This project is read-only.

Getting the manual example to work

Apr 22, 2013 at 6:24 PM

Going through the manual example you've provided here:

I've downloaded the most recent code, compiled and I've added the .dll as required, pretty much copy and pasted the instructions, it builds fine, but I get this error when I run the application:

A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll

__Additional information: 'The invocation of the constructor on type 'WpfApplication1.MainWindow' that matches the specified binding constraints threw an exception.' Line number '4' and line position '3'.
If there is a handler for this exception, the program may be safely continued.__

This window doesn't open, this only happens in the manually created workflow, any ideas?

Apr 22, 2013 at 10:21 PM
Looks like I was missing the Microsoft.Windows.Shell resource.
Apr 23, 2013 at 4:18 AM
In the main page, There is a link to WPF Shell libraries.

Try that first.
Apr 23, 2013 at 10:49 PM
Edited Apr 23, 2013 at 10:53 PM
Microsoft.Windows.Shell.dll is included in the mui download (and automatically referenced if you use NuGet), no need to download it seperately. There are plans to merge (parts of) the Microsoft.Windows.Shell source into mui itself, so the dependency is no longer needed.

For now I updated the documentation, it explicitly states the Microsoft.Windows.Shell.dll reference.
Apr 24, 2013 at 1:00 AM
Edited Apr 24, 2013 at 1:01 AM
I only mention it as I'm new to c#(python background) and it wasn't stated that I needed that reference in the step by step. Mostly due to my ignorance, you may want to consider adding that step.

Apr 24, 2013 at 8:56 PM
Step has been added to the documentation thanks to your input. Appreciated!