-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Roll forward LatestMajor needs a max version setting #45306
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to this area: @vitek-karas, @agocke Issue DetailsWiX has an application, Heat, that dynamically loads With the existence of both the
|
Basically this exact request is already part of this epic: #43332 Specifically this part:
My current thinking is to support basically the same syntax which NuGet supports for versions - but in the |
Closing this in favor of #43332. |
WiX has an application, Heat, that dynamically loads
Microsoft.Build.dll
andMicrosoft.Build.Framework.dll
. I recently had to update the roll forward policy toLatestMajor
(https://github.com/wixtoolset/Tools/pull/56) so it could continue to support running on 2.1 while also be able to load MSBuild 16.8 assemblies, which were compiled fornet5.0
.With the existence of both the
Major
andLatestMajor
policies, it seems that at some point in the future an app could be broken if it rolls forward too far. Let's say this happens to my app in .NET 6. I want the ability to compile it once for [2.1, 6.0) and then again for [6.0, infinity). As far as I know, the only way to get the latest runtime in [2.1, 6.0) is to write a custom host which is not something I want to do for this. I want something like aMaxRollForwardVersion
setting so I can specify that it shouldn't be rolled forward to 6.0 but can be rolled forward to any version of 5.x.The text was updated successfully, but these errors were encountered: