Skip to content

Conversation

@akoeplinger
Copy link
Member

This is take 2 on #95504 which had to be reverted because it broke WasmBuildTests.
The reason is that we were including the .dbg/.dwarf files when generating UnixFilePermissions.xml and they were not there anymore because symbols are split out from the main .nupkg.

With #83903 the path to the .pdb symbol file changed to include a PDB subdirectory.
We didn't adjust the path in mono.proj and didn't notice it because of an Exists() check that made this a no-op.

This caused the .pdb file to not be uploaded to symbol servers which results in a failing VS APIScan check:

While doing this I noticed we were also not including the .dwarf/.dbg symbols for non-Windows platforms.

Fix the path and added the missing non-Windows symbols

With dotnet#83903 the path to the .pdb symbol file changed to include a `PDB` subdirectory.
We didn't adjust the path in mono.proj and didn't notice it because of an `Exists()` check that made this a no-op.

While doing this I noticed we were also not including the .dwarf/.dbg symbols for non-Windows platforms.

Fix the path and added the missing non-Windows symbols
@ghost ghost added the area-Build-mono label Dec 4, 2023
@ghost ghost assigned akoeplinger Dec 4, 2023
@akoeplinger akoeplinger requested review from directhex, radical and steveisok and removed request for marek-safar December 4, 2023 12:17
These files are split out from the main .nupkg so they won't exist there which causes issues when nuget tries to apply the permissions during workload install.
@akoeplinger akoeplinger force-pushed the fix-symbols-mono-aot-cross branch from d6eff54 to a2f0be5 Compare December 4, 2023 12:52
@akoeplinger akoeplinger merged commit 2c48baf into dotnet:main Dec 4, 2023
@akoeplinger akoeplinger deleted the fix-symbols-mono-aot-cross branch December 4, 2023 15:37
@github-actions github-actions bot locked and limited conversation to collaborators Jan 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants