❔ Using net7 documentation while targeting netstandard2.0
This might be a bit of a dumb question, but is there anyway to make omnisharp/roslyn's tooltips use the xml docs from a newer version of .NET (like .NET 7) while targeting
netstandard2.0
? What about nullability annotations (although I'm pretty sure that one is impossible without dangerously messing with ref assemblies) ?7 Replies
Why tho?
.NET Standard 2.0 is not .NET 7
It does not have the same features
It can't give you tips about, dunno, raw string literals, since they do not exist in Standard 2.0
Yes, I know it won't be perfect; it's mostly because some netstandard2.0 APIs seem to be missing docs, while their net7 version has it
Could maybe try to multi-target
oh god i'm so dumb ;-;
I tried it already, but it didn't work; turns out i just needed to reload omnisharp
thanks for the help!
O# moment it worked out
And i also get the nullability stuff for free!
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.