Questions tagged [xamlparseexception]

XamlParseException is the exception class for parser-specific exceptions from a WPF XAML parser. XamlParseException is used only for the WPF-implemented XAML parser that performs the XAML parsing and loading for WPF applications.

XamlParseException is the exception class for parser-specific exceptions from a WPF XAML parser. XamlParseException is used only for the WPF-implemented XAML parser that performs the XAML parsing and loading for WPF applications.

A XamlParseException is usually only a generic and relatively undescriptive error, its InnerException property often contains the actual, underlying error that occurred.

153 questions
73
votes
3 answers

StaticExtension value cannot be resolved

I'm facing some issues with a WPF binding to a static property. In my application there is a class called Globals which contains a static property to ThisAddIn. This object allows me to access a User property which basically is what I want to use in…
Roper
  • 903
  • 1
  • 9
  • 17
34
votes
9 answers

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

I'm using WPF on C# as code bellow
TTGroup
  • 3,575
  • 10
  • 47
  • 79
23
votes
10 answers

XamlParseException after deploying WPF project

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…
Drew
  • 2,601
  • 6
  • 42
  • 65
17
votes
4 answers

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

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…
mmr
  • 14,781
  • 29
  • 95
  • 145
15
votes
2 answers

Why the ' ', hexadecimal value 0x0C, is an invalid character. Line 1, position 1. throws in WPF

When i load a xxxx.XAML into WPF frame it throws the error ' ', hexadecimal value 0x0C, is an invalid character. Line 1, position 1. how to find which is causing the problem. when the xxxx.XAML is in another project's start page, it works fine, when…
BalaKrishnan웃
  • 4,337
  • 7
  • 30
  • 51
11
votes
3 answers

When is x:Reference in WPF resolved and why does XAML element order affect it?

x:Reference can not be resolved after I re-arrange elements in XAML. Here I present a working code. Just move the DataGrid element so it comes after the button element and the bindings for the MenuItem in ContextMenu and MultiBinding in…
user2032138
  • 111
  • 1
  • 3
9
votes
1 answer

How to set a TypeConverter on an attached dependency property in Silverlight?

My goal is to be able to write this in XAML: Problem : Silverlight XAML can't parse a DateTime from a string. So at runtime I…
JYL
  • 8,228
  • 5
  • 39
  • 63
9
votes
3 answers

XAMLParseException driving me CRAZY!

THIS XAMLParseException IS DRIVING ME CRAZY!! I am using .NET 3.5 in Visual Studio 1020 This is my xaml:
Mohit Deshpande
  • 53,877
  • 76
  • 193
  • 251
8
votes
4 answers

XamlParseException using Silverlight Toolkit control in Expression Blend

I am having a strange issue opening up my UserControl in Expression Blend when using a Silverlight Toolkit control. My UserControl uses the toolkit's ListBoxDragDropTarget as follows:
7
votes
2 answers

What caused the NullReferenceException in WpfXamlLoader.TransformNodes ()?

I am trying to track down a problem that only happens in release mode and is most likely caused by the invalid obfuscation of some property. I know it happens when initializing a specific control but this control is huge. I have spent a day going…
Patrick Klug
  • 14,056
  • 13
  • 71
  • 118
6
votes
4 answers

XamlParseException in WPF application - but only on when installed on XP

My WPF application is running fine on Windows 7. Installation on XP machine brings up the following error on startup: Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: …
Sam S
  • 61
  • 1
  • 1
  • 4
6
votes
1 answer

uwp xaml parsing failed with class library dll

I have a very simple uwp app in which I refer to a class library which is also a uwp project obviously and has a Custom ContentDialog. When I reference it directly as a project then it works just fine and the ContentDialog opens as well. But when I…
Muhammad Touseef
  • 4,357
  • 4
  • 31
  • 75
5
votes
2 answers

XamlParseException when binding to listbox

In my app I am allowing users to save photos from camera and photo library to isolated storage. I then get the name of each file and read the photo and add to my list. Once the list is built, I bind it to the list box. I can get about 5 displayed…
Andy T
  • 10,223
  • 5
  • 53
  • 95
5
votes
1 answer

Getting "Cannot add instance of type EventTriggerBehavior to collection BehaviorCollection" to make clickable TextBlock

My app had a series of buttons hardcoded to be a navigation menu, but I wanted to upgrade this to something more data-driven.
5
votes
0 answers

System.Windows.Markup.XamlParseException - The method or operation is not implemented

First of all, using Windows 7, x86 build on a 64 bit machine, VS2010. While running our CS gui code, we are getting the problem seen below: A first chance exception of type 'System.Windows.Markup.XamlParseException' occurred in…
user650261
  • 2,115
  • 5
  • 24
  • 47
1
2 3
10 11