OmniSharp / OmniSharp/csharp-language-server-protocol

Support for .Net 6.0.0

Open
#723 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
638
Forks
109
Avg merge
1m
Merged PRs (30d)
2

Description

When running build.sh it fails with the following output:-

GNU bash, version 4.4.20(1)-release (x86_64-redhat-linux-gnu)
Microsoft (R) .NET Core SDK version 6.0.100
Microsoft (R) Build Engine version 17.0.0+c9eb9dd64 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /home/chaz/git/github.com_OmniSharp_csharp-language-server-protocol/.build/.build.csproj (in 29.91 sec).
CSC : warning CS8002: Referenced assembly 'Nuke.Common, Version=5.0.2.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. [/home/chaz/git/github.com_OmniSharp_csharp-language-server-protocol/.build/.build.csproj]
CSC : warning CS8002: Referenced assembly 'Rocket.Surgery.Nuke, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. [/home/chaz/git/github.com_OmniSharp_csharp-language-server-protocol/.build/.build.csproj]
  .build -> /home/chaz/git/github.com_OmniSharp_csharp-language-server-protocol/.build/bin/Debug/.build.dll

Build succeeded.

CSC : warning CS8002: Referenced assembly 'Nuke.Common, Version=5.0.2.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. [/home/chaz/git/github.com_OmniSharp_csharp-language-server-protocol/.build/.build.csproj]
CSC : warning CS8002: Referenced assembly 'Rocket.Surgery.Nuke, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name. [/home/chaz/git/github.com_OmniSharp_csharp-language-server-protocol/.build/.build.csproj]
    2 Warning(s)
    0 Error(s)

Time Elapsed 00:00:33.29
It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '5.0.0' (x64) was not found.
  - The following frameworks were found:
      6.0.0 at [/home/chaz/.local/local/dotnet-sdk-6.0.100/shared/Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

The specified framework can be found at:
  - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.0&arch=x64&rid=almalinux.8.5-x64

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting and running build.sh with the reported .NET SDK versions, then trace the .build/.build.csproj configuration that requests Microsoft.NETCore.App 5.0.0. Done means build.sh completes successfully on .NET 6.0.0 without requiring the missing 5.0.0 framework; the issue does not mention a test file.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.