<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>$(SdkTargetFramework)</TargetFramework>
    <OutputType>Exe</OutputType>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
    <IsUnitTestProject>true</IsUnitTestProject>
    <EnableStyleCopAnalyzer>true</EnableStyleCopAnalyzer>
    <GenerateDocumentationFile>true</GenerateDocumentationFile>
  </PropertyGroup>

  <ItemGroup>
    <None Include="TemplateInstallTests/TestTemplates/**/*" CopyToOutputDirectory="Always" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="FakeItEasy" />
    <PackageReference Include="Moq" />
    <PackageReference Include="Verify.XUnit" />
    <PackageReference Include="Verify.DiffPlex" />
    <PackageReference Include="Microsoft.TemplateEngine.Mocks" />
    <PackageReference Include="Microsoft.TemplateEngine.TestHelper" />
    <PackageReference Include="Microsoft.TemplateEngine.Orchestrator.RunnableProjects" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\src\Cli\Microsoft.TemplateEngine.Cli\Microsoft.TemplateEngine.Cli.csproj" />
    <ProjectReference Include="..\..\src\Cli\Microsoft.DotNet.Cli.Utils\Microsoft.DotNet.Cli.Utils.csproj" />
    <ProjectReference Include="..\Microsoft.NET.TestFramework\Microsoft.NET.TestFramework.csproj" />
  </ItemGroup>

  <ItemGroup>
    <None Update="Resources\dotnetcli.host.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
  </ItemGroup>
</Project>
