Conversation
|
Test build to get packages: https://dev.azure.com/dnceng/internal/_build/results?buildId=2582989&view=results |
|
Thanks for reporting this @loganmj and thanks @BrennanConroy and @wtgodbe for the quick investigation/fix! |
captainsafia
left a comment
There was a problem hiding this comment.
Does ApiDescription.Server need a similar treatment?
It does, nice catch. Plus I need to fix up |
|
Actually, not sure if we can fix APIDescription.Server since it targets netcoreapp2.1, |
|
We make sure to use TFMs with all assets, including I don't think an of our packages use |
|
Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime. |
Fixes #58990
Related: NuGet/Home#6932
When a package has a
buildorbuildmultitargetingfolder without a TFM subfolder, NuGet considers it to be compatible with any TFM. This is causing builds that should be failing with restore errors, to instead later hit a less helpful runtime error.