Exception at app start in release only.

Gavin Williams 761 Reputation points
2020-03-15T10:04:31.297+00:00

Sometimes when i run my app in release, I get the following error ..

Unhandled exception at 0x7F50CCE0 in UWPPopupsIssueDemo.exe: 0xC0000005: Access violation executing location 0x00000000.

I haven't seen the issue in debug. How can i go about fixing this?

Universal Windows Platform (UWP)
{count} vote

1 answer

Sort by: Most helpful
  1. Xiaodi Yan 876 Reputation points MVP
    2020-03-15T21:21:16.253+00:00

    Not sure but could you please try to disable the Native .NET tool chain for release mode? You can find this checkbox in Properties - Build page, then select your platform target and disable "compile with .NET Native tool chain". If there is something wrong with the release mode but debug mode works, I'm guessing it is related to the Native .NET tool chain.

    0 comments No comments