Conversation
|
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
|
@sbomer - any idea what's going on here? |
|
Writing down my answer from our conversation in case anyone else comes across this:
I would suggest removing the workaround - then the scenario will fail (depending on the TFM) with an error that indicates the runtime pack is not available. Trimming and trim analysis should be disabled for those TFMs since they are not supported scenarios (see dotnet/linker#3175 for more context). |
|
Adding more notes from investigation with @eerhardt: the specific issue was caused by the aspnet workaround using the 8.0 version for |
- Add static keyword for method that doesn't need to be an instance method. - Change workaround for dotnet/linker#3175 to use net7.0 instead of net8.0. The ILLink.Analysis package no longer ships in net8.0. So use net7.0, like the rest of the "unsupported" TFMs use.
No description provided.