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

[Solution] Update preprocessor directives ahead of System.Diagnostics.DiagnosticSource .NET 7 update #3095

Merged
merged 1 commit into from
Mar 28, 2022

Conversation

CodeBlanch
Copy link
Member

Changes

I needed to target a local .NET 7 build of System.Diagnostics.DiagnosticSource to benchmark some changes I am working on with the runtime team. There were some surprises/headaches getting that up and running! .NET 7 DiagnosticSource drops support for net461 (bumped to net462), net5.0, & netcoreapp3.1. Presumably because they will all be out of support by the time .NET 7 releases. We will need to update the targets in most (all?) of our csproj files in order to consume .NET 7. I'm not going to check that in because it will disrupt the 1.2 metrics effort, but I'm checking in the updates I made to preprocessor directives. Should be safe to do now and save a little bit of effort when it comes time to do that upgrade.

@CodeBlanch CodeBlanch requested a review from a team March 27, 2022 18:19
@codecov
Copy link

codecov bot commented Mar 27, 2022

Codecov Report

Merging #3095 (c753a0a) into main (de44411) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3095      +/-   ##
==========================================
- Coverage   84.79%   84.77%   -0.03%     
==========================================
  Files         259      259              
  Lines        9181     9181              
==========================================
- Hits         7785     7783       -2     
- Misses       1396     1398       +2     
Impacted Files Coverage Δ
...elemetry.Api/Context/RemotingRuntimeContextSlot.cs 0.00% <ø> (ø)
...nTelemetry.Exporter.Jaeger/Implementation/Batch.cs 100.00% <ø> (ø)
...ry.Exporter.Jaeger/Implementation/EmitBatchArgs.cs 100.00% <ø> (ø)
...penTelemetry/Internal/ServiceProviderExtensions.cs 100.00% <ø> (ø)
...tation/OpenTelemetryProtocolExporterEventSource.cs 75.00% <0.00%> (-10.00%) ⬇️
...emetry.Api/Internal/OpenTelemetryApiEventSource.cs 79.41% <0.00%> (-2.95%) ⬇️
...ZPages/Implementation/ZPagesExporterEventSource.cs 62.50% <0.00%> (+6.25%) ⬆️

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.

3 participants