Exception when I release my WPF app

Sep 14, 2015 at 11:25 AM
Hello, I use the configuration like this in VS2015 post build:
set LIBZ=$(SolutionDir)packages\LibZ.Bootstrap.\tools\libz.exe
%LIBZ% inject-dll --assembly Weshop.exe --include *.dll --move
I use it in debug version, it can be lance normally,
But after change the version to release, I can't lance it.
I have the exception
Exception thrown: 'System.Windows.Markup.XamlParseException' in PresentationFramework.dll
Additional information: Set property 'System.Windows.ResourceDictionary.Source' threw an exception.

How to resolve it?

Sep 21, 2015 at 2:36 PM

I have few things going at the same time so I don't have time to do this now.
I would say your best options is to use '--safe-load' option with LibZ It is complicated a little bit as is not released, so you would need to compile it yourself from sources. I will release it, but it may take weak or two.