Apr 12 2022 12:30 AM
I have a C# project built with Visual Studio 2019. In the Build options I have selected "PDB-only" for Debugging information (but tried also "Full").
When creating App Packages I check "Include public symbol files".
When the program is installed with this package and crashes, the stack trace does not include line numbers. When I copy the Release folder to the target machine and run it from there, the strack trace includes line numbers.
Looking in a forum I found
https://social.msdn.microsoft.com/Forums/en-US/5c0ab108-edf6-426c-b60b-4dc1017d9e2b/is-it-possible-t...
This thread ends with "Yes, it seems windows store does not support it.". It was posted in March 2015 and I hope since then something has changed, e.g. the option "Include public symbol files" was added. I mean: why adding public symbols, if not for the sake of a stack trace with line numbers?
I also tried to add the PDB-file by adding
<Content Include="....pdb" />
in the wapproj-file, but the PDB-file was not added, whereas a file with a different extension was added in the correct folder.
What else can I do to get line numbers in stack trace, when program is installed from MSIX-package?
Apr 22 2022 02:44 PM
@Nwagner2225 I'm looking into this and will let you know
Apr 26 2022 05:25 PM
Apr 27 2022 05:34 AM
May 10 2022 06:39 PM
@Nwagner2225 basically this is by design. Store does not like packages with pdbs for policy.
per docs here https://docs.microsoft.com/en-us/windows/msix/package/packaging-uwp-apps
Symbols for appx package are compressed as .appxsym(as part of .appxupload) and will only be used in Partner center for crash analysis
May 11 2022 09:42 AM
May 19 2022 11:22 AM
Jun 06 2022 04:44 AM