net8 regression: cannot build appextensions on iOS without workaround #19037
Labels
bug
If an issue is a bug or a pull request a bug fix
regression
The issue or pull request is a regression
Milestone
Steps to Reproduce
<IsAppExtension>true</IsAppExtension>
).Expected Behavior
Build completes ok.
Actual Behavior
Receive a linker error:
I have to add the following Target to the extension project file to make it work:
This was inspired by what I think is a related issue: dotnet/linker#3165
Environment
Only building from the command-line right now (no VS on this Mac); as much version information as possible attached.
Version information
Build Logs
msbuild.binlog.zip
Example Project
Example project where this failure occurs is here: https://github.com/enclave-alistair/dotnet-ios-netextension/tree/without-trimming-workaround
Workaround is applied on
main
of that repo, thewithout-trimming-workaround
branch fails to build.The text was updated successfully, but these errors were encountered: