File size: 1,349 Bytes
8c763fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
  <Import Project="..\..\PowerShell.Common.props" />
  <PropertyGroup>
    <Description>PowerShell's Microsoft.PowerShell.Commands.Diagnostics project</Description>
    <NoWarn>$(NoWarn);CS1591;CA1416</NoWarn>
    <AssemblyName>Microsoft.PowerShell.Commands.Diagnostics</AssemblyName>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\System.Management.Automation\System.Management.Automation.csproj" />
    <PackageReference Include="System.Diagnostics.PerformanceCounter" Version="11.0.0-preview.2.26159.112" />
  </ItemGroup>

  <PropertyGroup>
    <DefineConstants>$(DefineConstants);CORECLR</DefineConstants>
  </PropertyGroup>

  <ItemGroup>
    <Compile Remove="GetEventSnapin.cs" />
    <Compile Remove="ExportCounterCommand.cs" />
    <Compile Remove="ImportCounterCommand.cs" />
    <Compile Remove="CounterFileInfo.cs" />
  </ItemGroup>

  <ItemGroup Condition=" '$(IsWindows)' != 'true' ">
    <Compile Remove="GetCounterCommand.cs" />
    <Compile Remove="CounterSample.cs" />
    <Compile Remove="CounterSet.cs" />
    <Compile Remove="PdhHelper.cs" />
    <Compile Remove="PdhSafeHandle.cs" />
    <Compile Remove="gen\GetEventResources.cs" />
    <Compile Remove="GetEventCommand.cs" />
    <Compile Remove="NewWinEventCommand.cs" />
  </ItemGroup>

</Project>