I've a multi target C# dotnet project with these frameworks defined in the csproj file:
<TargetFrameworks>net451;net452;net46;net461;netstandard1.3;netstandard2.0</TargetFrameworks>
However when browsing the source code, I get lot of errors like:
Which is strange because I use the correct preprocessor defines like:
#if NET452
using Microsoft.Owin;
#else
using Microsoft.AspNetCore.Http;
#endif
Is this even possible in Visual Studio Code ?
Edit...
Using Visual Studio 2019, the project builds fine and I can use this framework dropdown like this: