We are experiencing some issue when run the win10 UWP application compiled in release mode.
In the release mode, It throws target invocation exception at run time. If we compile it in debug mode it works fine.
If we deselect the “Compile with .NET Native tool chain” option (it is selected by default) it seems to be working ok. but according to the Microsoft documentation, this option would generate native code that would improve the application startup speed and performance.
Can someone provide some help in resolving this issue?