Repository navigation
Conversation
This reverts commit d71c4ed. FSharp.Editor built against Roslyn 5.15 fails to load in Visual Studio, which ships Roslyn 5.14 (Microsoft.VisualStudio.LanguageServices 5.15.0.0 not found). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
T-Gro
approved these changes
Dec 2, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
With the current
main, F# fails to open projects in the latest Visual Studio. ActivityLog showsFSharpProjectPackage,FSharpPackageand FSharp.Editor MEF parts failing with:VS currently ships Roslyn 5.14 (
Microsoft.VisualStudio.LanguageServices5.14.0.0), anddevenv.exe.configredirects0.0.0.0-5.14.0.0 -> 5.14.0.0, so an assembly compiled against 5.15.0.0 cannot bind.The 5.15 references came from #20983 (Maestro Roslyn flow), which moved all 8 Roslyn packages from
5.14.0-1.26557.1to5.15.0-1.26570.9, along with the VS SDK pins those required.Changes
5.14.0-1.26557.1,VisualStudioEditorPackagesVersionback to 18.12.46,Microsoft.Internal.VisualStudio.Shell.Frameworkback to 18.9.317. The threading-analyzer tweaks in the integration tests are reverted as well, since they were only needed with the newer VS SDK analyzers.eng/Version.Details.xmlwithPinned="true"so Maestro doesn't immediately re-bump them to 5.15:Microsoft.CodeAnalysis, .Compilers, .CSharp, .EditorFeatures, .EditorFeatures.Text, .Features, Microsoft.VisualStudio.LanguageServices, Microsoft.VisualStudio.LanguageServices.ExternalAccess.
The pin should be removed once VS ships Roslyn 5.15.
Validation
eng\Build.ps1 -c Debug -restore -buildwithBUILDING_USING_DOTNET=false(builds VisualFSharp.slnx incl. all vsintegration projects): succeeded, 0 warnings, 0 errors, so no NU1109/MSB3277 downgrade conflicts.FSharp.Editor.dllnow referencesMicrosoft.VisualStudio.LanguageServices 5.14.0.0,.ExternalAccess 5.14.0.0,Microsoft.CodeAnalysis 5.14.0.0.