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 initial support for .NET 9 #6265

Merged
merged 24 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
538e39b
Use separate pools to avoid impact
andrewlock Oct 24, 2024
3159b8c
Update everything to use .NET 9 SDK instead of .NET 8
andrewlock Oct 24, 2024
502f55a
Update apps to target .NET 9
andrewlock Oct 24, 2024
d1ec5c7
Update build to target .NET 9
andrewlock Oct 24, 2024
97630ff
cleanup: remove tester stage from centos7 - we don't use it
andrewlock Oct 25, 2024
9fdd753
Fix breaking changes in C#13 that has issues with params in expressions
andrewlock Oct 28, 2024
ebffd00
Update guard rails to allow instrumenting .NET 9 by default
andrewlock Oct 28, 2024
1c8a7e4
Add .NET 9 to generated package versions
andrewlock Oct 29, 2024
749dd0d
Update integrations using built-in types to 9.*.*
andrewlock Oct 29, 2024
2a0036b
Add IAST aspect for new Type.GetMethod() and File overloads
andrewlock Nov 4, 2024
f907e8e
Update source gen
andrewlock Oct 29, 2024
b2edd58
Ignore new experimental activities added in .NET 9
andrewlock Oct 29, 2024
882e1e6
Bump package version in source generators to prevent complaints
andrewlock Oct 31, 2024
8d983dc
Allow the .NET tool to run on .NET 9 in the pipeline monitor
andrewlock Nov 4, 2024
59ef73d
"Fix" integration tests by changing the AllowWriteStreamBuffering val…
andrewlock Nov 4, 2024
5bc5d13
Add smoke tests for .NET 9
andrewlock Nov 4, 2024
32e9e3c
Add exclusions for overloads that IAST doesn't support yet
andrewlock Nov 4, 2024
0cd47e6
Downgrade the lang version of the IAST instrumented tests, to avoid u…
andrewlock Nov 5, 2024
d611230
Skip debugger and profiler tests that don't work in .NET 9
andrewlock Nov 5, 2024
8f10af6
Skip ManualInstrumentationTests with ready2run on .NET 9
andrewlock Nov 7, 2024
69cf593
Skip AppTrimming tests on .NET 9 ARM64 Linux
andrewlock Nov 7, 2024
903a655
Exclude some crash tracking tests that currently hang
andrewlock Nov 7, 2024
8bf4c28
Update gitlab build to support .NET 9
andrewlock Nov 8, 2024
5e70959
Update to GA version of .NET 9
andrewlock Nov 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .azure-pipelines/noop-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pr:

# Global variables
variables:
dotnetCoreSdkLatestVersion: 8.0.100
dotnetCoreSdkLatestVersion: 9.0.100
OriginalCommitId: $[coalesce(variables['System.PullRequest.SourceCommitId'], variables['Build.SourceVersion'])] # required by update-github-status
TargetBranch: $[variables['System.PullRequest.TargetBranch']]

Expand Down
8 changes: 8 additions & 0 deletions .azure-pipelines/steps/install-dotnet-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ steps:
parameters:
channel: 7.0

- template: install-dotnet-sdk-manually.yml
parameters:
channel: 8.0

- template: install-dotnet-sdk-manually.yml
parameters:
sdkVersion: $(dotnetCoreSdkLatestVersion)
Expand Down Expand Up @@ -57,6 +61,10 @@ steps:
parameters:
channel: 7.0
is64bit: false
- template: install-dotnet-sdk-manually.yml
parameters:
channel: 8.0
is64bit: false
- template: install-dotnet-sdk-manually.yml
parameters:
sdkVersion: $(dotnetCoreSdkLatestVersion)
Expand Down
7 changes: 7 additions & 0 deletions .azure-pipelines/steps/install-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ steps:
version: 7.0.x
retryCountOnTaskFailure: 5

- task: UseDotNet@2
displayName: install dotnet core ${{ parameters.packageType }} 8.0
inputs:
packageType: ${{ parameters.packageType }}
version: 8.0.x
retryCountOnTaskFailure: 5

- task: UseDotNet@2
displayName: install latest dotnet core sdk
inputs:
Expand Down
Loading
Loading