aspnet/Razor

Razor.SDK defines DotNetCoreRazorConfiguration project capability for <= 3.0 projects

NTaylorMullen opened this issue · 1 comments

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).