Skip to content

.NET 8 RC1 silently breaks binding library (build successful but no binding generated) #8340

Description

@bruno-garcia

Android application type

.NET Android (net6.0-android)

Affected platform version

8.0.100-rc.1.23455.8

Description

While trying to get the Sentry .NET SDK to build with the .NET 8 SDK, I encountered a problem with the net6.0-android binding library that blocks things.

Steps to Reproduce

Repro: https://github.com/bruno-garcia/repro-dotnet-sdk-8-rc1-bindings-android/tree/main

Build with .NET 7:

  • Build successful
  • DLL contains C# methods that bind to Java methods

Build with .NET 8:

  • Build successful
  • DLL is empty

Did you find any workaround?

No

Relevant log output

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area: App+Library BuildIssues when building Library projects or Application projects.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions