Skip to content
Closed
Next Next commit
Ignore JSImportGenerator
This project fails on the Loongarch and not super nescessary for now. Unlock build
  • Loading branch information
kant2002 committed Nov 25, 2022
commit a22df01870b9f471e246662d25f05511b624e84a
6 changes: 6 additions & 0 deletions src/libraries/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@
<ProjectExclusions Include="$(CommonTestPath)System\Net\Prerequisites\**\*.csproj" />
</ItemGroup>

<ItemGroup Condition="$(TargetArchitecture) == 'loongarch64'">
<!-- https://github.com/dotnet/roslyn/issues/65597. -->
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj" />
<ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Runtime.InteropServices.JavaScript\src\System.Runtime.InteropServices.JavaScript.csproj" />
</ItemGroup>

<Import Project="NetCoreAppLibrary.props" />
<Import Project="$(RepositoryEngineeringDir)referenceAssemblies.props" Condition="'$(IsReferenceAssemblyProject)' == 'true'" />

Expand Down