You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Threading.Tasks.DataFlow and ComponentModel.Annotations are not building NetCoreAppCurrent #48662
These libraries have <Nullable>enable</Nullable> in them, but they are building against netstandard APIs, which don't have nullablility annotations.
When someone wants to use a new API (or new attributes, like DynamicDependency and UnconditionalSuppressMessage), they are not available.
We should add a $(NetCoreAppCurrent) target for these libraries, and ship that in the shared framework / runtimepack. I analyzed a recent shared framework, and these were the only 2 libraries (outside of System.Runtime.CompilerServices.Unsafe) that didn't target net6.0.
Activity
eerhardt commentedon Feb 23, 2021
Just an FYI: I quickly tried doing this locally and
System.ComponentModel.Annoationsappears to be OK w.r.t. nullable annoations.However, System.Threading.Tasks.DataFlow has a ~60 nullable annoation errors now that it compiles for NetCoreAppCurrent.
Build Threading.Tasks.DataFlow and ComponentModel.Annotations for Net…
Build Threading.Tasks.DataFlow and ComponentModel.Annotations for Net…