From 725525a747d7dc96335e6419e293fef6f40f0589 Mon Sep 17 00:00:00 2001 From: Sergei Vorobev Date: Tue, 22 Mar 2016 13:36:41 -0700 Subject: [PATCH] Move NOETW define from framework to configuration In System.Management.Automation we want to build ETW events for CORECLR on windows --- src/System.Management.Automation/project.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/System.Management.Automation/project.json b/src/System.Management.Automation/project.json index 8cecdd245c..800f381a6d 100644 --- a/src/System.Management.Automation/project.json +++ b/src/System.Management.Automation/project.json @@ -11,7 +11,7 @@ "configurations": { "Linux": { "compilationOptions": { - "define": [ "LINUX" ] + "define": [ "LINUX", "NOETW" ] } } }, @@ -24,10 +24,11 @@ "netstandard1.5": { "imports": [ "dnxcore50" ], "compilationOptions": { - "define": [ "CORECLR", "NOETW" ] + "define": [ "CORECLR" ] }, "dependencies": { - "Microsoft.PowerShell.CoreCLR.AssemblyLoadContext": "1.0.0-*", + "Microsoft.PowerShell.CoreCLR.AssemblyLoadContext": "1.0.0-*", + "Microsoft.PowerShell.CoreCLR.Eventing": "1.0.0-*", "Microsoft.CSharp": "4.0.1-rc2-23921", "Microsoft.Win32.Registry.AccessControl": "4.0.0-rc2-23921",