I've read Microsoft's article about how to detect target framework, for example :
netcoreapp2.2
net47
net58
But there are situations where I don't care about the exact version, but the general framework target :
NETCORE
.Net Framework
But I didn't find such flags.
Question:
Are there any generalized flags for that ? or better, how can I distinguish between those two without specifying all options?
See Question&Answers more detail:os