-
Notifications
You must be signed in to change notification settings - Fork 523
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
Adds .net 9 support #4763
Adds .net 9 support #4763
Conversation
62080ca
to
61e41fe
Compare
61e41fe
to
1868c8a
Compare
1868c8a
to
0503bee
Compare
274a7a9
to
d5d2796
Compare
d5d2796
to
1dcb175
Compare
@@ -1,5 +1,5 @@ | |||
{ | |||
"sdk": { | |||
"version": "8.0.403" | |||
"version": "9.0.102" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to allow any rollforward to minor versions? Or keep it as is to a specific version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mikael had a different PR trying to address this - #4687. This PR is just adding the new target
Description
Adds .NET9 build target and changes Docker images to use .NET9 on AzureLinux.
Framework and SDK Updates:
Directory.Build.props
to includenet9.0
along withnet8.0
andnet6.0
.global.json
to use SDK version9.0.102
for the project.Dockerfile
to use .NET SDK9.0.102-azurelinux3.0
and runtime9.0.1-azurelinux3.0
. [1] [2]Package Version Updates:
HealthcareSharedPackageVersion
to8.0.30
and added conditional package versioning based on the target framework inDirectory.Packages.props
. [1] [2]Azure.Identity
,Microsoft.SqlServer.SqlManagementObjects
, andSystem.Data.SqlClient
. [1] [2] [3]Build Pipeline Modifications:
net9.0
inbuild-variables.yml
and added a new job forWindows_dotnet9
inci-pipeline.yml
andpr-pipeline.yml
. [1] [2] [3]Windows_dotnet8
inci-pipeline.yml
andpr-pipeline.yml
to maintain compatibility with .NET 8.0. [1] [2]Code Analysis and Suppression Rules:
CA1852
in theCustomAnalysisRules.ruleset
file.SmartLauncher
classes to address maintainability and performance warnings. [1] [2]Miscellaneous Updates:
build/dotnet6-compat/global.json
and addedglobal.json
for .NET 8 compatibility. [1] [2]SmartLauncherConfig
andProgram
classes to internal inSmartLauncher
project. [1] [2]These changes collectively enhance the project's compatibility with newer .NET versions, streamline package management, and improve the build and deployment processes.
Related issues
Addresses AB#136374
Testing
Describe how this change was tested.
FHIR Team Checklist
Semver Change (docs)
Feature (new framework target)