Adjust System.Diagnostics.Tracing for moved EventCounter
authorStephen Toub <stoub@microsoft.com>
Mon, 11 Feb 2019 17:01:27 +0000 (12:01 -0500)
committerStephen Toub <stoub@microsoft.com>
Mon, 11 Feb 2019 18:25:54 +0000 (13:25 -0500)
Commit migrated from https://github.com/dotnet/corefx/commit/45b49ee8a56b0c53364e5c1a98c12b9d9cc8206d

src/libraries/System.Diagnostics.Tracing/src/System.Diagnostics.Tracing.csproj

index c8777a818bceaf581fd83bb297b9e6303da06f79..fbfdd35f1603cd5c54018e1cffd45a620db9ed87 100644 (file)
@@ -5,8 +5,7 @@
     <IsPartialFacadeAssembly>true</IsPartialFacadeAssembly>
     <Configurations>netcoreapp-Unix-Debug;netcoreapp-Unix-Release;netcoreapp-Windows_NT-Debug;netcoreapp-Windows_NT-Release;netcoreappaot-Windows_NT-Debug;netcoreappaot-Windows_NT-Release;uap-Windows_NT-Debug;uap-Windows_NT-Release;uapaot-Windows_NT-Debug;uapaot-Windows_NT-Release</Configurations>
   </PropertyGroup>
-  <!-- Default configurations to help VS understand the options -->
-  <ItemGroup>
+  <ItemGroup Condition="'$(TargetGroup)'=='uapaot' or '$(TargetGroup)'=='netcoreappaot'">
     <Compile Include="FxCopBaseline.cs" />
     <Compile Include="$(CommonPath)\CoreLib\System\Diagnostics\Tracing\EventCounter.cs" />
   </ItemGroup>