Blame SOURCES/razor-compiler-apphost.patch

e2d5c4
Don't use an apphost for RazorSyntaxGenerator
e2d5c4
e2d5c4
The RazorSyntaxGenerator tool is excluded from source-build, but the build
e2d5c4
system tries to find the apphost matching the TFM anyway. This project targets
e2d5c4
netcoreapp3.1, so the build fails on s390x because the no apphost exists for
e2d5c4
that on s390x.
e2d5c4
--- a/src/razor-compiler/src/tools/RazorSyntaxGenerator/RazorSyntaxGenerator.csproj
e2d5c4
+++ a/src/razor-compiler/src/tools/RazorSyntaxGenerator/RazorSyntaxGenerator.csproj
e2d5c4
@@ -10,6 +10,7 @@
e2d5c4
     
e2d5c4
     <AddPublicApiAnalyzers>false</AddPublicApiAnalyzers>
e2d5c4
     <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
e2d5c4
+    <UseAppHost>false</UseAppHost>
e2d5c4
   </PropertyGroup>
e2d5c4
 
e2d5c4
 </Project>
e2d5c4
--- a/src/razor-compiler/src/perf/Microbenchmarks/Microsoft.AspNetCore.Razor.Microbenchmarks.csproj
e2d5c4
+++ a/src/razor-compiler/src/perf/Microbenchmarks/Microsoft.AspNetCore.Razor.Microbenchmarks.csproj
e2d5c4
@@ -7,6 +7,7 @@
e2d5c4
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
e2d5c4
     <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
e2d5c4
     <IsPackable>false</IsPackable>
e2d5c4
+    <UseAppHost>false</UseAppHost>
e2d5c4
   </PropertyGroup>
e2d5c4
 
e2d5c4
   <ItemGroup>