summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs b/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs
index 835e49077e..863c4db2e3 100644
--- a/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs
+++ b/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs
@@ -7,7 +7,7 @@
#define FEATURE_MANAGED_ETW
-#if !ES_BUILD_STANDALONE
+#if !ES_BUILD_STANDALONE && !CORECLR && !PROJECTN
#define FEATURE_ACTIVITYSAMPLING
#endif // !ES_BUILD_STANDALONE