We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

ClickOnce Installer crash on launch after install

Thread ID:

Created:

Updated:

Platform:

Replies:

129010 Feb 21,2017 10:20 AM Feb 22,2017 12:29 PM WPF 1
loading
Tags: General
Thomas Frøysa
Asked On February 21, 2017 10:20 AM

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:
1(*) xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
2(**) xmlns:syncfusionskin="clr-namespace:Syncfusion.SfSkinManager;assembly=Syncfusion.SfSkinManager.WPF"
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!

Jegan Raj M [Syncfusion]
Replied On February 22, 2017 12:29 PM

Hi Thomas,

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

Regards,
Jegan Raj M

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;