Closed NTaylorMullen closed 5 years ago
Line of interest: https://github.com/aspnet/Razor/blob/master/src/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Microsoft.NET.Sdk.Razor.DesignTime.targets#L29
Basically, in pre-3.0 world the DotNetCoreRazorConfiguration was either defined by Razor.DesignTime or not at all. With the SDK as it is currently we see every project as a >= 2.1 project (even when no Razor is available).
DotNetCoreRazorConfiguration
https://github.com/aspnet/AspNetCore-Tooling/commit/8d733ecc0422a56ae8dfc7dd296d475bb8b3d790
Line of interest: https://github.com/aspnet/Razor/blob/master/src/Microsoft.NET.Sdk.Razor/build/netstandard2.0/Microsoft.NET.Sdk.Razor.DesignTime.targets#L29
Basically, in pre-3.0 world the
DotNetCoreRazorConfiguration
was either defined by Razor.DesignTime or not at all. With the SDK as it is currently we see every project as a >= 2.1 project (even when no Razor is available).