Blame SOURCES/razor-compiler-apphost.patch

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