.NET application cannot start and receive XamlParseException

前端 未结 14 2529
小鲜肉
小鲜肉 2020-11-28 08:47

I wrote an app that can install and work on my development PC (a Window 7).

  • Development Environment: Window 7, VS2010 WPF C# with both .NET 4
14条回答
  •  一向
    一向 (楼主)
    2020-11-28 09:27

    This is really a generic error. In my case freshly installed application failed to create its own event source due to insufficient permissions. Resolved (ugly one) by running the app one time in "as admin" mode. Make sure that all inner exceptions are handled. Events is also a good source of information.

提交回复
热议问题