Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Mar 28, 2023

Contributes to dotnet/windowsdesktop#3516
Unblocks dotnet/wpf#7681

Microsoft.Windows.Compatibility is being migrated from runtime to windowsdesktop and depends on packages from dotnet/runtime. As there's already a subscription from runtime -> winforms, a new one can't be added directly between runtime -> windowsdesktop as that would cause coherency issues. Instead, we need to flow the dependencies through winforms and wpf.

The git diff is confusing. I just added the new dependencies at the end of the product dependencies section and removed the ones that already existed from above so that all the ones that are required by windowsdesktop are grouped together.

Note that I also removed the Microsoft.Windows.Compatiblity dependency as that package is now produced in a higher layer (not runtime but windowsdesktop) so winforms can't depend on a live version of it. The package is only required for a test library so it felt safe to remove the live dependency and downgrade to last stable version.

Microsoft Reviewers: Open in CodeFlow

Unblocks dotnet/windowsdesktop#3516

Microsoft.Windows.Compatibility is being migrated from runtime to
windowsdesktop and depends on packages from dotnet/runtime. As there's
already a subscription from runtime -> winforms, a new one can't be
added directly between runtime -> windowsdesktop as that would cause
coherency issues. Instead, we need to flow the dependencies through
winforms and wpf.
@ViktorHofer ViktorHofer requested a review from a team as a code owner March 28, 2023 09:46
@ghost ghost assigned ViktorHofer Mar 28, 2023
@ViktorHofer ViktorHofer enabled auto-merge (squash) March 28, 2023 10:23
ViktorHofer added a commit to ViktorHofer/runtime that referenced this pull request Mar 28, 2023
dotnet/winforms#8909 moves the M.W.C package into
windowsdesktop. Deleting the source from runtime and the package
versions that aren't used anymore.
@ViktorHofer ViktorHofer merged commit da3c547 into dotnet:main Mar 28, 2023
@ghost ghost added this to the 8.0 Preview4 milestone Mar 28, 2023
@ViktorHofer ViktorHofer deleted the AddWindowsDesktopCoherentDependencies branch March 28, 2023 15:30
ViktorHofer added a commit to dotnet/runtime that referenced this pull request Mar 28, 2023
dotnet/winforms#8909 moves the M.W.C package into
windowsdesktop. Deleting the source from runtime and the package
versions that aren't used anymore.
@ghost ghost locked as resolved and limited conversation to collaborators Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants