We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running this code using .NET 5, the expectation is that it will compile, but it doesn't:
using System; namespace MacroBug { public class Class1 { #if NETCOREAPP3_1 NETCOREAPP3_1 Here to break Compilation #endif #if NETCOREAPP3_0 NETCOREAPP3_0 Here to break Compilation #endif #if !NET5_0 !NET5_0 Here to break Compilation #endif } }
.NET 5.0 RC 1 (5.0.100-rc.1.20452.10) on Windows 10 x64
NETCOREAPP3_0 works as expected (not declared in .NET 5)
The text was updated successfully, but these errors were encountered:
Tagging subscribers to this area: @dotnet/ncl See info in area-owners.md if you want to be subscribed.
Sorry, something went wrong.
Thanks. Dup of dotnet/sdk#13377. See dotnet/docs#20692.
No branches or pull requests
Description
When running this code using .NET 5, the expectation is that it will compile, but it doesn't:
Configuration
.NET 5.0 RC 1 (5.0.100-rc.1.20452.10) on Windows 10 x64
Other information
NETCOREAPP3_0 works as expected (not declared in .NET 5)
The text was updated successfully, but these errors were encountered: