문제

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.

도움이 되었습니까?

해결책

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.

다른 팁

The XAML parse exception is the outer exception that gets called when the form is instantiating all of its child elements. It's probably being thrown because one of these child elements is throwing another exception during instantiation. You need to check the InnerException property of the xamlparse exception, the InnerException of the InnerException, etc until you find the root exception that's causing the problem.

My first guess would be a missing service pack, but the only way to know for sure is to find the root exception.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top