Pull request
dotnet/sdk#52028
Type of problem
Problem with version files (Versions.Details.xml, Versions.props, global.json, ..)
Description of the issue
nagilson/sdk@3c15958
In this commit, @mmitche helpfully reflected on how we shouldn't use Microsoft.Dotnet.WinForms.ProjectTemplates in Version.Details.xml and that these flows have special properties for VMR builds on non windows. However, what we're seeing now is that in Version.Details.Props, these dependencies are being deleted, which is causing failures in our code flow, for example in dotnet/sdk#51895.
https://github.com/dotnet/sdk/pull/51895/files#diff-3a6dd62fefc313c2ae46c8eb7999a76e089076d8445bc49e710f37d52b8c63deL105
Here is an example where MicrosoftDotnetWinFormsProjectTemplatesPackageVersion was automatically removed by codeflow - this is despite the fact that Microsoft.NETCore.Platforms is defined in Version.Details.xml.
dotnet/sdk#51895
This was discussed here, dotnet/sdk#52028 (comment), and how we were surprised that this deletion was happening. Perhaps some of the logic that syncs the props files is not aware of the special casing so it's removing the dependencies?