Blame SOURCES/razor-compiler-apphost.patch

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