<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;CA1416</NoWarn>
    <AssemblyName>Microsoft.PowerShell.Commands.Utility</AssemblyName>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\System.Management.Automation\System.Management.Automation.csproj" />
    <PackageReference Include="Microsoft.PowerShell.MarkdownRender" Version="7.2.0-preview.2" />
  </ItemGroup>

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

  <ItemGroup>
    <Compile Remove="singleshell\installer\MshUtilityMshSnapin.cs" />
    <Compile Remove="gen\UtilityMshSnapinResources.cs" />
    <Compile Remove="gen\ConvertFromStringResources.cs" />
    <Compile Remove="gen\ConvertStringResources.cs" />
    <Compile Remove="gen\FlashExtractStrings.cs" />
    <Compile Remove="gen\ImmutableStrings.cs" />

    <EmbeddedResource Remove="resources\UtilityMshSnapinResources.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.10.0-3.final" />
    <PackageReference Include="System.Threading.AccessControl" Version="6.0.0-preview.4.21253.7" />
    <PackageReference Include="System.Drawing.Common" Version="6.0.0-preview.4.21253.7" />
    <PackageReference Include="NJsonSchema" Version="10.4.3" />
  </ItemGroup>

</Project>
