-
Notifications
You must be signed in to change notification settings - Fork 5k
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
base: main
Are you sure you want to change the base?
Add packaging information to windowsdesktop transport package #115477
Conversation
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.
There was a problem hiding this 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 |
...WindowsDesktop.Transport/src/build/Microsoft.Internal.Runtime.WindowsDesktop.Transport.props
Outdated
Show resolved
Hide resolved
…ort/src/build/Microsoft.Internal.Runtime.WindowsDesktop.Transport.props Co-authored-by: Copilot <[email protected]>
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries |
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
After taking this picture I then later renamed
PackageLibrary
toRuntimeWindowsDesktopPackageLibrary