Skip to content

Conversation

j0shuams
Copy link

I saw in your PR for this that you had a TODO for the C#/WinRT version. I believe it is posted on nuget.org now: https://www.nuget.org/packages/Microsoft.Windows.CsWinRT/1.2.5

@dsplaisted dsplaisted force-pushed the improve-netsdk1130 branch 3 times, most recently from 30e180e to dfc8241 Compare April 22, 2021 16:38
@j0shuams j0shuams closed this Apr 27, 2021
@j0shuams j0shuams deleted the jlarkin/update_cswinrt_ref branch April 27, 2021 22:49
dsplaisted pushed a commit that referenced this pull request Sep 19, 2023
DockerCli: fix docker being used when podman was detected.
dsplaisted added a commit that referenced this pull request Sep 5, 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 dotnet#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.

2 participants