Closed vaind closed 12 months ago
Something about this looks very familiar:
error: NU1100: Unable to resolve 'Microsoft.Extensions.Http (>= 6.0.0)' for 'net7.0-android33.0'. PackageSourceMapping is enabled, the following source(s) were not considered: integration-test. error: NU1100: Unable to resolve 'Microsoft.Extensions.Logging.Configuration (>= 6.0.0)' for 'net7.0-android33.0'. PackageSourceMapping is enabled, the following source(s) were not considered: integration-test. error: NU1100: Unable to resolve 'K4os.Compression.LZ4 (>= 1.3.5)' for 'net7.0-android33.0'. PackageSourceMapping is enabled, the following source(s) were not considered: integration-test.
I think I might have run into this when leveraging source generated configuration bindings... and I think I resolved it by matching those dependencies to the target framework: https://github.com/getsentry/sentry-dotnet/blob/93b8508d76294cd8c815aa0831cd04fa7d932518/src/Sentry.Extensions.Logging/Sentry.Extensions.Logging.csproj#L18-L32
But I can't be sure... I know I've run into issues resolving those three dependencies before though.
After making Sentry CLI real integration tests (those that use as nuget packages instead of local builds in-repo) in #2781, MAUI test is broken. I've tried all I could think of but just can't get it to work in CI while it works just fine locally (on all three platforms).
For now, I'm disabling the test to unblock the PR (and v4.0.0 subsequently).
See failed test run: https://github.com/getsentry/sentry-dotnet/actions/runs/6798187413/job/18482533901?pr=2781