Search code examples
c#wpfxamlxamlparseexception

WPF: Any reason why there's a xamlparse exception on XP but not on Vista?


My app compiles fine. Runs fine on Vista machines. But doesn't even start on XP machines with a xaml parse exception on the first form.

The xp machines all have .net 3.5.

Anything spring to mind?

Thanks.


Solution

  • That exception could mean pretty much anything.

    If you do as described in this post (it's not much, just a try/catch and get the inner exception out) you should be able to see more details and hopefully find the cause of the exception (which could be trivial).

    Hope it works for you.