xamlparseexception

How can I get useful WPF .NET error information from a user's machine?

空扰寡人 提交于 2019-11-27 14:57:41
问题 I have a WPF application that's crashing once I get it onto machines that do not have a development environment installed-- if this is a dupe, I'm welcome to closing, but I my search-fu is failing to find an equivalent question. It appears that I'm getting a XamlParseException, but nothing more useful than that. I need to get useful information. Going through the Windows 7 event logs gives me this error log: Fault bucket , type 0 Event Name: CLR20r3 Response: Not available Cab Id: 0 Problem

System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll?

自闭症网瘾萝莉.ら 提交于 2019-11-27 12:48:42
问题 I'm using WPF on C# as code bellow <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:utility="clr-namespace:DVRClientInterface.Utility" xmlns:toolkit="http://schemas.xceed.com/wpf/xaml/toolkit" xmlns:wpftoolkit="clr-namespace:Microsoft.Windows.Controls;assembly

XamlParseException after deploying WPF project

旧时模样 提交于 2019-11-27 04:47:08
I have been trying to deploy my WPF app, I created a Setup Project using the Setup Wizard.The only Project Output I added was Primary. After building this and installing the program, as soon as i click the exe on my desktop i get a pop up that says "'My Program' has stopped working", so i click Debug the Program and i see An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll Additional information: 'Set connectionId threw an exception.' Line number '10' and line position '9'. This exception does not point me in any direction as to what

XamlParseException after deploying WPF project

a 夏天 提交于 2019-11-26 11:21:39
问题 I have been trying to deploy my WPF app, I created a Setup Project using the Setup Wizard.The only Project Output I added was Primary. After building this and installing the program, as soon as i click the exe on my desktop i get a pop up that says \"\'My Program\' has stopped working\", so i click Debug the Program and i see An unhandled exception of type \'System.Windows.Markup.XamlParseException\' occurred in PresentationFramework.dll Additional information: \'Set connectionId threw an