<Project Sdk="Microsoft.NET.Sdk.Web" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), testAsset.props))\testAsset.props" />

  <PropertyGroup>
    <TargetFramework>netcoreapp2.2</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <Folder Include="wwwroot\" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.App" />
  </ItemGroup>

  <Target Name="WriteDefaultPatchVersionsFile" BeforeTargets="Restore">
    <WriteLinesToFile
      File="$(MSBuildThisFileDirectory)/.DefaultPatchVersionForAspNetCoreApp2_1"
      Lines="$(DefaultPatchVersionForAspNetCoreApp2_1)"
      Overwrite="true"/>
  </Target>

  <Target Name="WriteBundledVersionsFile" BeforeTargets="Restore">
    <WriteLinesToFile
      File="$(MSBuildThisFileDirectory)/.BundledAspNetCoreVersion"
      Lines="$(MicrosoftAspNetCoreAppPackageVersion)"
      Overwrite="true"/>
  </Target>
  
</Project>
