We think there is some issue with how WPF assemblies are being compiled that makes them not work properly, but it's incredibly challenging to try and figure out what is going on. If someone could take a look and help me understand, that would be great. Ideally, these errors had some more actionable information so I can self-diagnose and fix the issue. If there are any tools/tricks that can help me diagnose these issues that would be a big 👍.
Repro steps
- git clone https://github.com/dotnet/wpf.git
- cd to directory where repo was cloned and run
.\build.cmd -pack
- Create a sample wpf .netcore app through VS or using
dotnet new wpf
- Follow this step in the developer guide for trying out local wpf assemblies.
- Open project in VS and F5
Expected
App runs, or we get an actionable exception that will help us diagnose the issue
Actual
App silently crashes with error 0xe0434352. I have all managed exceptions enabled and still nothing gets caught.
Repro steps (continued)
- Right-click the .csproj and go to Properties->Debug.
- Enable Native debugging and then F5
Expected
App runs, or we get an actionable exception that will help us diagnose the issue
Actual
Native exception is caught, but still not actionable

If I continue past this I then see a System.ExecutionEngineException, but it still doesn't provide any information.
cc @ericstj
We think there is some issue with how WPF assemblies are being compiled that makes them not work properly, but it's incredibly challenging to try and figure out what is going on. If someone could take a look and help me understand, that would be great. Ideally, these errors had some more actionable information so I can self-diagnose and fix the issue. If there are any tools/tricks that can help me diagnose these issues that would be a big 👍.
Repro steps
.\build.cmd -packdotnet new wpfExpected
App runs, or we get an actionable exception that will help us diagnose the issue
Actual
App silently crashes with error 0xe0434352. I have all managed exceptions enabled and still nothing gets caught.
Repro steps (continued)
Expected
App runs, or we get an actionable exception that will help us diagnose the issue
Actual
Native exception is caught, but still not actionable
If I continue past this I then see a
System.ExecutionEngineException, but it still doesn't provide any information.cc @ericstj