✅ Can I use static abstract interface members in netstandard2.1?

SSinaesthetic12/19/2022
Title -- I thought this was a language feature, not a framework feature. Shouldn't I be able to use these? I'm getting compiler errors stating it is not supported in the targeted runtime.
DDeluxe12/19/2022
it may be a language feature, however frameworks only support up to specific language versions
SSinaesthetic12/19/2022
It just occurred to me... isn't netstandard going away? It's all just netx.y now, I guess I can just swap all of these (they're just solution projects, not shared libraries)
AAngius12/19/2022
.NET Standard is there to create libraries that work with old Framework and new .NET (Core)
AAngius12/19/2022
So they only support the features common between those versions
AAngius12/19/2022
If they're not shared libraries, no point using .NET Standard IMHO
AAngius12/19/2022
Just use .NET 7
AAngius12/19/2022
Or .NET 6 if you care about LTS
OOrannis12/19/2022
Answer for title question: no
OOrannis12/19/2022
The compiler errors are correct
SSinaesthetic12/20/2022
I think my head was just in a different space. I had gotten so used to having libraries just be in netstandard and now it's more of a backwards-compatibility thing. I just switched everything to net7.0 and we're all good. Thanks!
AAccord12/21/2022
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.