I ran into the same problem:
"Installing Direct3D after suspension. In progress ... UTF-8 file encoding. In progress ..."
The problem was that I did not try to run the release version locally first . It did not start because I used preprocessor directives:
public static LicenseInformation licenseInformation = null;
...
#if DEBUG ... ... licenseInformation = CurrentAppSimulator.LicenseInformation; #else licenseInformation = CurrentApp.LicenseInformation; #endif
"CurrentApp" really threw an exception .. Now I use this code:
#if DEBUG ... ... licenseInformation = CurrentAppSimulator.LicenseInformation; #else try { licenseInformation = CurrentApp.LicenseInformation; } catch (Exception) { } #endif
And when I work with licenseInformation somewhere, I check if it is null before using it ...
I also found some other problems (warnings) in my code using "Analysis of the execution code on the solution".
So, in my case, it was a problem with my code .
source share