Skip to content

Upgrade Microsoft.Windows.CsWin32 to 0.3.209 in CLI project#670

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/upgrade-cswin32-to-03209
Draft

Upgrade Microsoft.Windows.CsWin32 to 0.3.209 in CLI project#670
Copilot wants to merge 2 commits into
mainfrom
copilot/upgrade-cswin32-to-03209

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 19, 2026

This PR updates the cswin32 package declaration to the requested version in microsoft/winget-create, keeping scope limited to dependency upgrade work. No additional interop input or generated source updates were required in-repo for this change.

  • Dependency update

    • Bumped Microsoft.Windows.CsWin32 in src/WingetCreateCLI/WingetCreateCLI.csproj from 0.3.183 to 0.3.209.
  • Scope and compatibility

    • Change is isolated to the CLI project package reference.
    • Existing CsWin32 usage surface (PInvoke credential APIs in TokenHelper) remains unchanged.
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.209">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Original prompt

Upgrade the cswin32 dependency in microsoft/winget-create to version 0.3.209.

Requirements:

  • Update the relevant dependency declaration(s) for cswin32 to 0.3.209.
  • Make any necessary code, generated code, or project configuration changes required for the repository to build and test successfully with the new version.
  • Run or account for any repository-specific regeneration steps if cswin32 is used for source generation or generated interop code.
  • Keep the change scoped to this upgrade.
  • Create a pull request with a concise description of what changed and any compatibility considerations.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: Make a PR upgrading cswin32 to 0.3.209

Assistant: I’m waiting on your response to the confirmation dialog before I can continue creating the PR.

This pull request was created from Copilot chat.

Agent-Logs-Url: https://github.com/microsoft/winget-create/sessions/3284fda0-72ae-4f85-9cb1-fa0673fc03b4

Co-authored-by: AmelBawa-msft <104940545+AmelBawa-msft@users.noreply.github.com>
Copilot AI changed the title [WIP] Update cswin32 dependency to version 0.3.209 Upgrade Microsoft.Windows.CsWin32 to 0.3.209 in CLI project May 19, 2026
Copilot AI requested a review from AmelBawa-msft May 19, 2026 17:32
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole repo should move to use Central Package Management with a Directory.Packages.props

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.

3 participants