From fbb73bccd055b31037c41557ca520909bc06d213 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Sun, 7 Jan 2018 21:29:36 -0800 Subject: [PATCH] Update our version of the RazorCoreCompile Updating RazorCoreCompile to be based on a much newer version of the Core.CSharp.targets. This adds support for some things we're missing like determinism and analzyers. --- ...spNetCore.Razor.Design.Compilation.targets | 172 +++++++++--------- .../Microsoft.AspNetCore.Razor.Design.targets | 41 +++++ 2 files changed, 131 insertions(+), 82 deletions(-) diff --git a/src/Microsoft.AspNetCore.Razor.Design/build/netstandard2.0/Microsoft.AspNetCore.Razor.Design.Compilation.targets b/src/Microsoft.AspNetCore.Razor.Design/build/netstandard2.0/Microsoft.AspNetCore.Razor.Design.Compilation.targets index fb3751101a..3af2791f18 100644 --- a/src/Microsoft.AspNetCore.Razor.Design/build/netstandard2.0/Microsoft.AspNetCore.Razor.Design.Compilation.targets +++ b/src/Microsoft.AspNetCore.Razor.Design/build/netstandard2.0/Microsoft.AspNetCore.Razor.Design.Compilation.targets @@ -1,60 +1,85 @@ - - - - <_RazorIntermediateAssembly Include="$(IntermediateOutputPath)$(RazorTargetName).dll" /> + - <_RazorIntermediatePdb + <_RazorDebugSymbolsIntermediatePath Condition="'$(DebugSymbols)'=='true' and '$(DebugType)'!='' and '$(DebugType)'!='none' and '$(DebugType)'!='embedded'" Include="$(IntermediateOutputPath)$(RazorTargetName).pdb" /> - - + + + than specified in the assembly reference version number. MSBuild raises the same warning in this case, + so the compiler warning would be redundant. --> $(NoWarn);1701;1702 - $(NoWarn);2008 + $(NoWarn);2008 - - - - + + + + - $(AppConfig) + then we'll use AppConfig --> + $(AppConfig) @@ -62,15 +87,28 @@ false + + + + + + true + PathMap="$(PathMap)" + SourceLink="$(SourceLink)"> + - + - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Microsoft.AspNetCore.Razor.Design/build/netstandard2.0/Microsoft.AspNetCore.Razor.Design.targets b/src/Microsoft.AspNetCore.Razor.Design/build/netstandard2.0/Microsoft.AspNetCore.Razor.Design.targets index 05baefe3ca..3f5ea7784a 100644 --- a/src/Microsoft.AspNetCore.Razor.Design/build/netstandard2.0/Microsoft.AspNetCore.Razor.Design.targets +++ b/src/Microsoft.AspNetCore.Razor.Design/build/netstandard2.0/Microsoft.AspNetCore.Razor.Design.targets @@ -140,4 +140,45 @@ + + + + + + + + + + + + + + + + + + + +