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

Add a .NET 8 target to RequiredTargetFrameworks #46637

Open
wants to merge 45 commits into
base: main
Choose a base branch
from

Conversation

m-redding
Copy link
Member

@m-redding m-redding commented Oct 15, 2024

This PR does the following:

  • Adds a net8.0 target to RequiredTargetFrameworks
  • Temporarily allows API compat checks for net8.0 targets to fall back to netstandard2.0 targets
  • Temporarily removes the generated code and API listings check to avoid a 480,000+ LOC PR and more effectively have changes reviewed
  • Implicitly removes dependencies on BCL packages built into the runtime for .NET 6+ targets

Nullable reference types were not available in netstandard2.0. Many of the changes in this PR are related to nullability. I added comments to other changes pointing to the reasoning behind that change.

Resolves:

Live test status:

Pipeline name Status Link to issue or successful run
net - attestation - tests failed (appears unrelated) #47132
net - batch - tests failed (unrelated) #47142
net - identity - tests failed (unrelated) #47163
net - objectanchors - tests failed (unrelated) #47161
net - openai - tests failed (unrelated) #47170
net - playwrighttesting - tests succeeded https://github.com/Azure/azure-sdk-for-net/runs/33064578251
net - servicebus - functions - tests failed (unrelated) #47168
net - storage - tests failed (unrelated) #47183
net - tables - tests failed (unrelated) #47182
net - translation - tests failed (unrelated) #47165
net - Azure.Monitor.OpenTelemetry.Exporter - tests succeeded pipeline results
net - core - tests succeeded pipeline results
net - eventhub - functions - tests succeeded pipeline results
net - eventhub - tests succeeded pipeline results
net - servicebus - tests succeeded pipeline results

@m-redding m-redding mentioned this pull request Oct 15, 2024
9 tasks
@azure-sdk
Copy link
Collaborator

azure-sdk commented Oct 21, 2024

@m-redding
Copy link
Member Author

/azp run net - core - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@m-redding
Copy link
Member Author

/azp run net - playwrighttesting - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@m-redding
Copy link
Member Author

/azp run net - storage - tests

@m-redding
Copy link
Member Author

/azp run net - tables - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

eng/Directory.Build.Common.props Outdated Show resolved Hide resolved
eng/Directory.Build.Common.props Show resolved Hide resolved
@Sid200026
Copy link
Member

/azp run net - playwrighttesting - tests

Copy link

Pull request contains merge conflicts.

@m-redding
Copy link
Member Author

/azp run net - playwrighttesting - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@weshaggard weshaggard left a comment

Choose a reason for hiding this comment

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

Changes looks good from engsys perspective

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.

8 participants