Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build with dotnet 8 sdk #2622

Merged
merged 44 commits into from
Oct 17, 2023
Merged

build with dotnet 8 sdk #2622

merged 44 commits into from
Oct 17, 2023

Conversation

bruno-garcia
Copy link
Member

@bruno-garcia bruno-garcia commented Sep 15, 2023

When trying to run tests on .NET 8 (#2617) it was clear that it was too much of a jump. Mobile support issues came up (Android and iOS, different issues). .NET 6 Android support was completely removed from .NET 8, so we need to chose between the two: dotnet/android#7900

This PR attempts to do the minimum changes required to build the repo with the .NET 8 SDK

This can be reverted possibly (as fixed in xamarin/xamarin-macios#18793)

Depends on:

Since there's no customer-facing change:

#skip-changelog

@bruno-garcia bruno-garcia marked this pull request as draft September 15, 2023 21:11
@bruno-garcia bruno-garcia changed the title net8 sdk net8 sdk - 2 Sep 15, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Sep 15, 2023

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against df4d5c9

@bruno-garcia bruno-garcia changed the title net8 sdk - 2 build with dotnet 8 sdk Sep 16, 2023
This was referenced Sep 16, 2023
@bruno-garcia bruno-garcia changed the base branch from main to feat/4.0.0 September 18, 2023 13:13
@bruno-garcia bruno-garcia mentioned this pull request Sep 18, 2023
@bruno-garcia
Copy link
Member Author

CI fails due to: #2639

@jamescrosswell jamescrosswell linked an issue Sep 25, 2023 that may be closed by this pull request
@bitsandfoxes bitsandfoxes self-assigned this Oct 16, 2023
@vaind vaind marked this pull request as ready for review October 16, 2023 18:57
@@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-13]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pinned? Maybe put a comment in there explaining why so we know in the future whether this is still required or not.


- name: Update workloads
shell: bash
run: dotnet workload update
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we include an explanation for this? We just ran dotnet workload restore right? Won't doing dotnet workload update give us non-deterministic builds (we don't know what version of the workloads is going to be used for the build)?

@vaind vaind merged commit 1d16e00 into feat/4.0.0 Oct 17, 2023
14 checks passed
@vaind vaind deleted the feat/net8-2 branch October 17, 2023 06:46
@vaind
Copy link
Collaborator

vaind commented Oct 17, 2023

After talking to @bitsandfoxes, I'm merging this to unblock other PRs and he'll follow up the review comments on feat/4.0.0 branch

@bruno-garcia
Copy link
Member Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uploading sources stops working on .NET 8
5 participants