Skip to content

Add packaging information to windowsdesktop transport package #115477

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented May 12, 2025

Contributes to dotnet/windowsdesktop#4998

Adds a props file that gets auto-imported when referencing the internal windowsdesktop transport package. This file defines an item PackageLibrary that includes all the information for the runtime assemblies that get redistributed inside the package.

This information can then be used in windowsdesktop to auto-generate parts of the PackageOverrides.txt file.

I chose the following format as it allows to add more metadata later that isn't strongly tied to packaging.

Result

image

image
After taking this picture I then later renamed PackageLibrary to RuntimeWindowsDesktopPackageLibrary

Contributes to dotnet/windowsdesktop#4998

Adds a props file that gets auto-imported when referencing the internal windowsdesktop
transport package. This file defines an item `PackageLibrary` that includes all the
information for the runtime assemblies that get redistributed inside the package.

This information can then be used in windowsdesktop to auto-generate parts of the
PackageOverrides.txt file.
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 12, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds packaging information to the WindowsDesktop transport package by introducing a props file with package metadata, updating the project file to generate that props file, and propagating the package properties through the packaging targets.

  • Adds a new props file with detailed packaging info.
  • Updates the project file to generate the transport props file.
  • Adjusts packaging.targets to flow package properties to consumer projects.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/libraries/Microsoft.Internal.Runtime.WindowsDesktop.Transport/src/build/Microsoft.Internal.Runtime.WindowsDesktop.Transport.props New props file to specify packaging metadata for redistributed assemblies
src/libraries/Microsoft.Internal.Runtime.WindowsDesktop.Transport/src/Microsoft.Internal.Runtime.WindowsDesktop.Transport.proj Introduces a target to generate the props file and adds a package reference
eng/packaging.targets Updates to propagate package properties to consuming projects

@ViktorHofer ViktorHofer added area-Infrastructure-libraries and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels May 12, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants