dotnet / dotnet/android-libraries

`io.grpc:grpc-api:1.64.2` crashes `dotnet build`

Open
#988 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
317
Forks
73
Avg merge
1d 8h
Merged PRs (30d)
17

Description

### Android application type

Android for .NET (net6.0-android, etc.)

### Affected platform version

nuget packages AndroidX and GooglePlayServices-Firebase-MLKit

### Description

Bindings for `io.grpc:grpc-api:1.64.2` crashes `dotnet build`

```
/usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.113/tools/Xamarin.Android.Bindings.Core.targets(99,5):
error MSB6006:
"dotnet" exited with code 134.
[./generated/io.grpc.grpc-api/io.grpc.grpc-api.csproj::TargetFramework=net8.0-android]
17336 Warning(s)
1 Error(s)
```

### Steps to Reproduce

1. bump grpc to 1.64.2
2. run binderator

### Did you find any workaround?

No. undergoing investigation.

### Relevant log output

Binlog hangs MsBuildLogViewer (Avalonia App) on Mac.

```shell
/usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/34.0.113/tools/Xamarin.Android.Bindings.Core.targets(99,5):
error MSB6006:
"dotnet" exited with code 134.
[./generated/io.grpc.grpc-api/io.grpc.grpc-api.csproj::TargetFramework=net8.0-android]
17336 Warning(s)
1 Error(s)
```

[msbuild.binlog.zip](https://github.com/user-attachments/files/17186055/msbuild.binlog.zip)

Online version at https://live.msbuildlog.com/

```
System.NotSupportedException: Unsupported log file format. Latest supported version is 16, the log file has version 21. at Microsoft.Build.Logging.StructuredLogger.BinLogReader.EnsureFileFormatVersionKnown(Int32 fileFormatVersion) at Microsoft.Build.Logging.StructuredLogger.BinLogReader.Replay(Stream stream, Func`3 progressFunc) at Microsoft.Build.Logging.StructuredLogger.BinaryLog.ReadBuild(Stream stream, Byte[] projectImportsArchive, Func`3 progressFunc) at StructuredLogViewerWASM.Shared.NavMenu.LoadBinlog(MemoryStream memoryStream) at StructuredLogViewerWASM.Shared.NavMenu.ReadFile(IFileListEntry[] files)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.