OmniSharp / omnisharp-roslyn

OmniSharp server (HTTP, STDIO) based on Roslyn workspaces
MIT License
1.72k stars 417 forks source link

As of now, it is still only the first target framework that is selected #2596

Open zp-zpanda opened 5 months ago

zp-zpanda commented 5 months ago

Relevant code: https://github.com/OmniSharp/omnisharp-roslyn/blob/41dbf7c48750f26c222804d191ef0d5f99ae2e5f/src/OmniSharp.MSBuild/ProjectLoader.cs#L174-L184

By these lines if there is no TargetFramework then the first TargetFramework in TargetFrameworks will always be selected, which is a bit of a inconvenience, as seen in dotnet/vscode-csharp#1783 and dotnet/vscode-csharp#3754. It is also seen to be a shortcoming in the comments from L179-L180.

Is the feature that allows hosts to freely select a TargetFramework from the list of TargetFrameworks at will going to be implemented?