Skip to content

Remove System.Diagnostics.DiagnosticSource from the .NET Framework build#881

Merged
zacharycmontoya merged 2 commits into
masterfrom
zach/net-framework-remove-diagnosticsource
Aug 27, 2020
Merged

Remove System.Diagnostics.DiagnosticSource from the .NET Framework build#881
zacharycmontoya merged 2 commits into
masterfrom
zach/net-framework-remove-diagnosticsource

Conversation

@zacharycmontoya

Copy link
Copy Markdown
Contributor

After working on #880 (which focuses on System.Net.Http), it seems especially dangerous to even have an assembly reference on an assembly that can be provided by NuGet instead of the GAC. Since we do not use System.Diagnostics.DiagnosticSource right now on .NET Framework, this change removes it from the build to get rid of the possibility of assembly loading issues. Properly loading this on .NET Framework will be addressed when we begin moving towards using the Activity class to propagate events.

@DataDog/apm-dotnet

…ild because this assembly references carries the same potential issues as System.Net.Http assembly references.
@zacharycmontoya zacharycmontoya added area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) dependencies Pull requests that update a dependency file labels Aug 27, 2020
@zacharycmontoya
zacharycmontoya requested a review from a team as a code owner August 27, 2020 00:35
@zacharycmontoya zacharycmontoya self-assigned this Aug 27, 2020
@zacharycmontoya
zacharycmontoya merged commit 6167e27 into master Aug 27, 2020
@zacharycmontoya
zacharycmontoya deleted the zach/net-framework-remove-diagnosticsource branch August 27, 2020 20:48
@zacharycmontoya zacharycmontoya added this to the 1.19.2 milestone Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants