Skip to content

Remove NuGet package dependencies from Datadog.Trace and Datadog.Trace.ClrProfiler.Managed#761

Merged
zacharycmontoya merged 8 commits into
masterfrom
zach/trace/remove-external-dependencies
Aug 7, 2020
Merged

Remove NuGet package dependencies from Datadog.Trace and Datadog.Trace.ClrProfiler.Managed#761
zacharycmontoya merged 8 commits into
masterfrom
zach/trace/remove-external-dependencies

Conversation

@zacharycmontoya

Copy link
Copy Markdown
Contributor

Changes proposed in this pull request

  • Remove Microsoft.CSharp NuGet package reference. This was only necessary for using the dynamic keyword, so those have been refactored to objects that use our existing ObjectExtensions methods
  • Remove System.Runtime.InteropServices.RuntimeInformation NuGet package reference. This is responsible for the additional System.Runtime.InteropServices.RuntimeInformation.dll on all platforms. It is built-in for netstandard2.0 so the logic that uses the new API's was ifdef'd out of the .NET Framework build targets.
  • Remove Microsoft.Win32.Registry NuGet package reference. This was no longer needed after refactoring of FrameworkDescription code.

@DataDog/apm-dotnet

@zacharycmontoya zacharycmontoya added the status:do-not-merge Work is done. Can review, but do not merge yet. label Jun 19, 2020
@zacharycmontoya zacharycmontoya self-assigned this Jun 19, 2020
Comment thread src/Datadog.Trace/FrameworkDescription.NetCore.cs
Comment thread src/Datadog.Trace/Logging/DatadogLogging.cs Outdated
@zacharycmontoya
zacharycmontoya force-pushed the zach/trace/remove-external-dependencies branch from 83b6b59 to 1364e90 Compare July 31, 2020 22:29
@zacharycmontoya
zacharycmontoya marked this pull request as ready for review July 31, 2020 22:31
@zacharycmontoya
zacharycmontoya requested a review from a team as a code owner July 31, 2020 22:31
@zacharycmontoya zacharycmontoya added dependencies Pull requests that update a dependency file area:tracer The core tracer library (Datadog.Trace, does not include OpenTracing, native code, or integrations) area:automatic-instrumentation Automatic instrumentation managed C# code (Datadog.Trace.ClrProfiler.Managed) and removed status:do-not-merge Work is done. Can review, but do not merge yet. labels Jul 31, 2020
Comment thread src/Datadog.Trace/FrameworkDescription.NetFramework.cs
Comment thread src/Datadog.Trace/FrameworkDescription.cs
Comment thread src/Datadog.Trace/Logging/DatadogLogging.cs Outdated
Comment thread src/Datadog.Trace/Logging/DatadogLogging.cs Outdated

@lucaspimentel lucaspimentel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Left some non-blocking comments. LGTM otherwise.

@zacharycmontoya
zacharycmontoya force-pushed the zach/trace/remove-external-dependencies branch from 9c5a9e8 to 850e928 Compare August 5, 2020 00:39

@kevingosse kevingosse left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@zacharycmontoya
zacharycmontoya merged commit 4b8037d into master Aug 7, 2020
@zacharycmontoya
zacharycmontoya deleted the zach/trace/remove-external-dependencies branch August 7, 2020 23:12
@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:automatic-instrumentation Automatic instrumentation managed C# code (Datadog.Trace.ClrProfiler.Managed) 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