Hi,
I want to check in my C# code if the project is using netstandard or netframework, can I do this using compiler directives?
I found things like #if NETFRAMEWORK but they don’t seem to work in unity C#.
Thanks for advance.
Hi,
I want to check in my C# code if the project is using netstandard or netframework, can I do this using compiler directives?
I found things like #if NETFRAMEWORK but they don’t seem to work in unity C#.
Thanks for advance.
I found it below, they are not as verbose as the ones offered in the microsoft documentation, but good enough.