Skip to content

Conversation

github-actions[bot]
Copy link

This action is executed twice a month to automatically update the manpages based on the latest changes to the dotnet/docs repo

nohwnd pushed a commit that referenced this pull request Sep 18, 2025
Copilot prompt #1:

Replace the #class:'Microsoft.DotNet.Build.Tasks.OverrideAndCreateBundledNETCoreAppPackageVersion':1164-10242 Task.

The new version should take as parameters the path to the stage 0  bundled versions file as well as the version from stage 2.  It should copy some version numbers from items in the stage 0 version to the stage 2 version, and then save the updated stage 2 version.

It should update items where the TargetFramework metadata is not the latest target framework supported.  There are multiple item types that need to be updated, and they need to be matched on specific metadata.

KnownFrameworkReference: match on Include, TargetFramework metadata.  Update LatestRuntimeFrameworkVersion and TargetingPackVersion
KnownAppHostPack: match on Include, TargetFramework metadata.  Update AppHostPackVersion
KnownCrossgen2Pack: match on Include, TargetFramework.  Update Crossgen2PackVersion
KnownILCompilerPack: match on Include, TargetFramework.  Update ILCompilerPackVersion
KnownRuntimePack: match on Include, TargetFramework, RuntimePackLabels.  Update LatestRuntimeFrameworkVersion
KnownILLinkPack: match on Include, TargetFramework.  Update ILLinkPackVersion.

If there is more than one match based on the specified metadata, generate an error.

For the metadata which is not used to match and is not updated, if the value differs between the stage 0 and stage 2 versions, log a message.

Copilot prompt #2:

Don't look at just the first ItemGroup in each file, load items from all ItemGroups found.

When looking for the latest target framework, use the NuGetFramework class to parse the TargetFramework values, and to compare them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants