-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Open
Labels
area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Milestone
Description
Today, we can't update RepoTasks.csproj's TFM until we get an SDK with the new TFM baked in. Our other projects can update before that because they get the workaround from GenerateFiles:
aspnetcore/eng/tools/GenerateFiles/Directory.Build.targets.in
Lines 10 to 27 in b7ee505
<!-- Workaround when there is no vNext SDK available; copy known apphost/framework reference info from 6.0. --> | |
<ItemGroup> | |
<KnownAppHostPack | |
Include="@(KnownAppHostPack->WithMetadataValue('TargetFramework', 'net6.0'))" | |
TargetFramework="${DefaultNetCoreTargetFramework}" | |
Condition="'@(KnownAppHostPack->Count())' != '0' AND | |
!(@(KnownAppHostPack->AnyHaveMetadataValue('TargetFramework', '${DefaultNetCoreTargetFramework}')))" /> | |
<KnownRuntimePack | |
Include="@(KnownRuntimePack->WithMetadataValue('TargetFramework', 'net6.0'))" | |
TargetFramework="${DefaultNetCoreTargetFramework}" | |
Condition="'@(KnownRuntimePack->Count())' != '0' AND | |
!(@(KnownRuntimePack->AnyHaveMetadataValue('TargetFramework', '${DefaultNetCoreTargetFramework}')))" /> | |
<KnownFrameworkReference | |
Include="@(KnownFrameworkReference->WithMetadataValue('TargetFramework', 'net6.0'))" | |
TargetFramework="${DefaultNetCoreTargetFramework}" | |
Condition="'@(KnownFrameworkReference->Count())' != '0' AND | |
!(@(KnownFrameworkReference->AnyHaveMetadataValue('TargetFramework', '${DefaultNetCoreTargetFramework}')))" /> | |
</ItemGroup> |
ViktorHofer
Metadata
Metadata
Assignees
Labels
area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework