<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
  <Import Project="..\..\PowerShell.Common.props" />
  <PropertyGroup>
    <Description>PowerShell's Microsoft.PowerShell.Commands.Utility project</Description>
    <NoWarn>$(NoWarn);CS1570</NoWarn>
    <AssemblyName>Microsoft.PowerShell.Commands.Utility</AssemblyName>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\System.Management.Automation\System.Management.Automation.csproj" />
    <ProjectReference Include="..\Microsoft.PowerShell.MarkdownRender\Microsoft.PowerShell.MarkdownRender.csproj" />
  </ItemGroup>

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

  <ItemGroup>
    <Compile Remove="commands\utility\FormatAndOutput\OutGridView\ColumnInfo.cs" />
    <Compile Remove="commands\utility\FormatAndOutput\OutGridView\ExpressionColumnInfo.cs" />
    <Compile Remove="commands\utility\FormatAndOutput\OutGridView\HeaderInfo.cs" />
    <Compile Remove="commands\utility\FormatAndOutput\OutGridView\OriginalColumnInfo.cs" />
    <Compile Remove="commands\utility\FormatAndOutput\OutGridView\OutGridViewCommand.cs" />
    <Compile Remove="commands\utility\FormatAndOutput\OutGridView\OutWindowProxy.cs" />
    <Compile Remove="commands\utility\FormatAndOutput\OutGridView\ScalarTypeColumnInfo.cs" />
    <Compile Remove="commands\utility\FormatAndOutput\OutGridView\TableView.cs" />
    <Compile Remove="commands\utility\FormatAndOutput\out-printer\PrinterLineOutput.cs" />
    <Compile Remove="commands\utility\FormatAndOutput\out-printer\Out-Printer.cs" />
    <Compile Remove="commands\utility\ShowCommand\ShowCommand.cs" />
    <Compile Remove="commands\utility\ShowCommand\ShowCommandCommandInfo.cs" />
    <Compile Remove="commands\utility\ShowCommand\ShowCommandModuleInfo.cs" />
    <Compile Remove="commands\utility\ShowCommand\ShowCommandParameterInfo.cs" />
    <Compile Remove="commands\utility\ShowCommand\ShowCommandParameterSetInfo.cs" />
    <Compile Remove="commands\utility\ShowCommand\ShowCommandParameterType.cs" />
    <Compile Remove="commands\utility\ShowCommand\ShowCommandProxy.cs" />
    <Compile Remove="commands\utility\Update-List.cs" />
    <Compile Remove="singleshell\installer\MshUtilityMshSnapin.cs" />
    <Compile Remove="gen\FormatAndOut_out_gridview.cs" />
    <Compile Remove="gen\UtilityMshSnapinResources.cs" />
    <Compile Remove="gen\OutPrinterDisplayStrings.cs" />
    <Compile Remove="gen\UpdateListStrings.cs" />
    <Compile Remove="gen\ConvertFromStringResources.cs" />
    <Compile Remove="gen\ConvertStringResources.cs" />
    <Compile Remove="gen\FlashExtractStrings.cs" />
    <Compile Remove="gen\ImmutableStrings.cs" />

    <EmbeddedResource Remove="resources\FormatAndOut_out_gridview.resx" />
    <EmbeddedResource Remove="resources\UtilityMshSnapinResources.resx" />
    <EmbeddedResource Remove="resources\OutPrinterDisplayStrings.resx" />
    <EmbeddedResource Remove="resources\UpdateListStrings.resx" />
    <EmbeddedResource Remove="resources\ConvertFromStringResources.resx" />
    <EmbeddedResource Remove="resources\ConvertStringResources.resx" />
    <EmbeddedResource Remove="resources\FlashExtractStrings.resx" />
    <EmbeddedResource Remove="resources\ImmutableStrings.resx" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.1.0" />
    <PackageReference Include="System.Threading.AccessControl" Version="4.6.0-preview6.19303.8" />
    <PackageReference Include="NJsonSchema" Version="10.0.21" />
  </ItemGroup>

</Project>
