-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Be consistent about ifdefs for .NET 5 #22194
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Shouldn't there be the one standard way to test for this, rather than all three options? I'm guessing NET50 is supposed to be that, if it works should just use it? |
@roji At this point I would rather be safe and consistent than minimal. |
It should be |
@bricelam That's the one that doesn't work universally. |
In other words |
What SDK do you have installed? I'm seeing this in preview.7 |
@bricelam I'm using the one installed by our build--which I believe is preview 7 currently. However, it may be that my IDE doesn't understand it yet. |
Does |
Also, |
Could just use |
Oh wait, no we can't. 🤦♂️ |
Okay, updated to just NET5_0. This builds for me in my IDE, although there are some syntax highlighting issues. |
@dotnet/efteam Approve? |
No description provided.