I can build and run my solution on any computer I have tested with no problems, but after creating a clickonce-installer and installing the program crashes instantaneously when I run it. I get the "Program has stopped working"-windows dialogue. If I attach a debugger, I get a xamlparseexception:
I suspect one of the following two lines to be the problem:
System.Windows.Markup.XamlParseException was unhandled
Message: An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: 'The invocation of the constructor on type 'Analyze_2017.frontend.MainWindow' that matches the specified binding constraints threw an exception.' Line number '8' and line position '9'.
This corresponds to the line marked 1(*) above. Weirdly enough - if I switch line 1(*) with line 2(**) and attach the debugger, I still get the same xamlparseexception - still at Line number 8, even though the two lines were switched.
Any ideas on how I could fix this? If you need more information, please don't hesitate to ask!
JRJegan Raj M Syncfusion Team February 22, 2017 05:29 PM UTC
From your update we suspect that the ClickOnce application is not published properly. Can you ensure that all syncfusion assemblies are in same version and included in ClickOnce package? Also ensure the Framework version of the application.
If you still face the issue, please provide more information or the ClickOnce application, it would help us to analyze