diff options
author | Vance Morrison <vancem@microsoft.com> | 2018-10-17 13:57:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-17 13:57:17 -0700 |
commit | 143d5a2ebb0c49e33ed60b9fb69cedd0aeffe3d1 (patch) | |
tree | 47de5ab2f8ee77ad877ba270ddb5b1d0547078d6 | |
parent | f825219b77bc6545cd2c29216934ad7621f00ab1 (diff) | |
parent | e7c522f83adb42551e828d67e133362d5a1cebdd (diff) | |
download | coreclr-143d5a2ebb0c49e33ed60b9fb69cedd0aeffe3d1.tar.gz coreclr-143d5a2ebb0c49e33ed60b9fb69cedd0aeffe3d1.tar.bz2 coreclr-143d5a2ebb0c49e33ed60b9fb69cedd0aeffe3d1.zip |
Merge pull request #20464 from brianrob/eventpipe_configpath
Use AppContext.BaseDirectory to Search for EventPipeConfig File
-rw-r--r-- | src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeController.cs b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeController.cs index 39e67660a2..782a86a5f1 100644 --- a/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeController.cs +++ b/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/EventPipeController.cs @@ -94,7 +94,7 @@ namespace System.Diagnostics.Tracing private EventPipeController() { // Set the config file path. - m_configFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, BuildConfigFileName()); + m_configFilePath = Path.Combine(AppContext.BaseDirectory, BuildConfigFileName()); // Initialize the timer, but don't set it to run. // The timer will be set to run each time PollForTracingCommand is called. |