49d8bc9941
React to deprecation of Microsoft.AspNetCore.App. Changes: * Update KnownFrameworkReference to use the new runtime packs * Stop reference Microsoft.AspNetCore.App * Stop generating unused variable in the SDK: BundledAspNetCoreAppPackageVersion and BundledAspNetCoreAppTargetFrameworkVersion * Add prodcon entries for all aspnet dependencies. These may not have the same version in the future (like patch updates)
30 lines
961 B
XML
30 lines
961 B
XML
<Project Sdk="Microsoft.NET.Sdk.Web">
|
|
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), testAsset.props))\testAsset.props" />
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>$(CliTargetFramework)</TargetFramework>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="wwwroot\" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<FrameworkReference 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="$(MicrosoftAspNetCoreAppRuntimeX64PackageVersion)"
|
|
Overwrite="true"/>
|
|
</Target>
|
|
|
|
</Project>
|