-
Notifications
You must be signed in to change notification settings - Fork 793
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
Allow more SDK versions #10130
Allow more SDK versions #10130
Conversation
So this might pass CI (I updated the global.json a while back as well), but that doesn't necessarily mean it will pass signed builds internally. Apparently the internal machines used for signed builds are behind the times and don't even have VS 16.7 installed on them yet. @brettfo or @KevinRansom can confirm. rollForward also might not do the right thing here either. I've run into circumstances where an installed VS will ruin whatever I thought Additionally, the It's really shitty, I know. |
I assumed CI uses build.cmd and it'll be fine. When using build.cmd everything worked well for me while neither Rider nor VS could open the solution since I don't have that particular SDK version installed. |
I'm leaning away from this change for two reasons:
@KevinRansom I'd like to hear your thoughts. |
Let's not do this. |
@brettfo Isn't it what build.cmd specifies anyways? The CI checks were all green. This change is primarily fixing local builds that contributors do, not changing what SDK is installed and used in CI. |
There are three sets of VMs that we have to target; the public CI machines, the internal signed build VMs, and the common |
@brettfo Thanks for the detailed response.
And at the same time this particular build is something completely irrelevant to the most of open source contributors and, prior to the recent repo changes, FSharp.sln, fcs/FSharp.Compiler.Service.sln, and VisualFSharp.sln all worked great for them. I thought making community contributions feasible and easier was not that unimportant too? Looking at #10073, #10129, #10150, #10176, #10193, it seems like something has gone wrong. |
One additional problem here, as I laid out in #10193 (which also shows a workaround for at least VS), is that the VS installer removes older versions of the SDK (dotnet/sdk#4015), which leads to some machines having it and some not. The easy way out would be to just have an option "install on first use if absent", but that option is not yet available and has been lingering since 2017 (dotnet/sdk#8254). |
Allows all 3.x SDK versions, starting with 3.1.300. Not sure what the minimum allowed version should be here.