RazorSDK doesn't overwrite ErrorLog

\n\nCommit migrated from aed7bc8ec6
This commit is contained in:
Ryan Brandenburg 2019-09-25 14:17:10 -07:00
parent c05fca5137
commit eda9503177
2 changed files with 14 additions and 6 deletions

View File

@ -117,6 +117,10 @@ Copyright (c) .NET Foundation. All rights reserved.
<LangVersion Condition="'$(LangVersion)' == ''">$(MaxSupportedLangVersion)</LangVersion> <LangVersion Condition="'$(LangVersion)' == ''">$(MaxSupportedLangVersion)</LangVersion>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<RazorCompilationErrorLog Condition="'$(RazorCompilationErrorLog)'==''">$(IntermediateOutputPath)$(RazorTargetName).Compilation.log</RazorCompilationErrorLog>
</PropertyGroup>
<Csc <Csc
AdditionalLibPaths="$(AdditionalLibPaths)" AdditionalLibPaths="$(AdditionalLibPaths)"
AddModules="@(AddModules)" AddModules="@(AddModules)"
@ -137,7 +141,7 @@ Copyright (c) .NET Foundation. All rights reserved.
EmitDebugInformation="$(DebugSymbols)" EmitDebugInformation="$(DebugSymbols)"
EnvironmentVariables="$(CscEnvironment)" EnvironmentVariables="$(CscEnvironment)"
ErrorEndLocation="$(ErrorEndLocation)" ErrorEndLocation="$(ErrorEndLocation)"
ErrorLog="$(ErrorLog)" ErrorLog="$(RazorCompilationErrorLog)"
ErrorReport="$(ErrorReport)" ErrorReport="$(ErrorReport)"
Features="$(Features)" Features="$(Features)"
FileAlignment="$(FileAlignment)" FileAlignment="$(FileAlignment)"

View File

@ -180,6 +180,10 @@ Copyright (c) .NET Foundation. All rights reserved.
<UseSharedCompilation>true</UseSharedCompilation> <UseSharedCompilation>true</UseSharedCompilation>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<RazorComponentErrorLog Condition="'$(RazorComponentErrorLog)'==''"><$(IntermediateOutputPath)$(RazorTargetName).Component.log/RazorComponentErrorLog>
</PropertyGroup>
<Csc <Csc
AdditionalLibPaths="$(AdditionalLibPaths)" AdditionalLibPaths="$(AdditionalLibPaths)"
AddModules="@(AddModules)" AddModules="@(AddModules)"
@ -198,7 +202,7 @@ Copyright (c) .NET Foundation. All rights reserved.
EmitDebugInformation="$(DebugSymbols)" EmitDebugInformation="$(DebugSymbols)"
EnvironmentVariables="$(CscEnvironment)" EnvironmentVariables="$(CscEnvironment)"
ErrorEndLocation="$(ErrorEndLocation)" ErrorEndLocation="$(ErrorEndLocation)"
ErrorLog="$(ErrorLog)" ErrorLog="$(RazorComponentErrorLog)"
ErrorReport="$(ErrorReport)" ErrorReport="$(ErrorReport)"
Features="$(Features)" Features="$(Features)"
FileAlignment="$(FileAlignment)" FileAlignment="$(FileAlignment)"