[Breaking change]: StripSymbols=true is now the default option for PublishAot #35108
Closed
1 of 3 tasks
Labels
breaking-change
Indicates a .NET Core breaking change
🏁 Release: .NET 8
Work items for the .NET 8 release
📌 seQUESTered
Identifies that an issue has been imported into Quest.
Uh oh!
There was an error while loading. Please reload this page.
Description
dotnet/runtime#85139
When .NET 7 introduced Native AOT deployment, we exposed a
StripSymbols
property that optionally allows to strip debugging symbols from the produced executable on Linux into a separate file. The default value of the property was false.In .NET 8 we're changing it to
true
.Version
.NET 8 (other)
Previous behavior
Debugging symbols on Linux with
PublishAot
were placed into the produced executable by default with an opt-in to place them into a.dbg
file.New behavior
Debugging symbols on Linux with
PublishAot
are placed into a.dbg
file with an opt-out to place them into the executable.Type of breaking change
Reason for change
Based on feedback, we established the .NET users prefer the .NET symbols convention instead of the platform-native convention. The option was not discoverable enough.
Recommended action
<StripSymbols>false</StripSymbols>
to your project file to restore the previous behavior.Feature area
Deployment
Affected APIs
No response
Associated WorkItem - 91240
The text was updated successfully, but these errors were encountered: