Skip to content
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

It was not possible to find any installed .NET SDKs and lots of other OmniSharp errors #6278

Closed
GeorgeFlorian opened this issue May 18, 2021 · 18 comments
Assignees
Labels
area-setup Issues related to installing .NET Core

Comments

@GeorgeFlorian
Copy link

GeorgeFlorian commented May 18, 2021

Issue

Console.ReadLine(); reads input forever.
OmniSharp: It was not possible to find any installed .NET SDKs.

System Info

  • Linux Mint 20.1
  • Visual Studio Code 1.56.2

Description

I've installed .NET SDK following this instructions: https://docs.microsoft.com/en-us/dotnet/core/install/linux-snap

  252  sudo rm /etc/apt/preferences.d/nosnap.pref
  253  sudo apt update
  254  sudo apt install snapd
  255  sudo snap install dotnet-sdk --classic
  256  sudo snap alias dotnet-sdk.dotnet dotnet

I've then went and made a simple C# program:

using System;

class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine("Welcome Home");
        string str = Console.ReadLine();
        Console.WriteLine(str);
    }
}

VSC terminal outputs:

> Executing task: dotnet build /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj /property:GenerateFullPaths=true /consoleloggerparameters:NoSummary <

Microsoft (R) Build Engine version 16.9.0+57a23d249 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  All projects are up-to-date for restore.
  CSharp_junior -> /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/bin/Debug/net5.0/CSharp_junior.dll

Terminal will be reused by tasks, press any key to close it.

Debug Console in which I can input forever:

-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/System.Private.CoreLib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/bin/Debug/net5.0/CSharp_junior.dll'. Symbols loaded.
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/System.Runtime.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/System.Console.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/System.Threading.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/System.Text.Encoding.Extensions.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Loaded '/snap/dotnet-sdk/126/shared/Microsoft.NETCore.App/5.0.6/Microsoft.Win32.Primitives.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Welcome Home
aaaaaaaaa
cccccccccc
xxxxxxxxxxxx

Output:

Starting OmniSharp server at 5/18/2021, 12:25:40 PM
    Target: /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior

OmniSharp server started.
    Path: /home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/run
    PID: 6951

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on linuxmint 20.1 (x64)
[info]: OmniSharp.Services.DotNetCliService
        DotNetPath set to dotnet
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 1 MSBuild instance(s)
            1: StandAlone 16.9.0 - "/home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        MSBUILD_EXE_PATH environment variable set to '/home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin/MSBuild.exe'
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: StandAlone 16.9.0 - "/home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin"
            CscToolExe = csc.exe
            MSBuildToolsPath = /home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin
            CscToolPath = /home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild/Current/Bin/Roslyn
            BypassFrameworkInstallChecks = true
            MSBuildExtensionsPath = /home/georgeflorian/.vscode/extensions/ms-dotnettools.csharp-1.23.11/.omnisharp/1.37.8/omnisharp/.msbuild
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110
[info]: OmniSharp.WorkspaceInitializer
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.MSBuild.ProjectSystem
        No solution files found in '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.WorkspaceInitializer
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior' on host 6774.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
  https://aka.ms/dotnet-download
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
  https://aka.ms/dotnet-download
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
  https://aka.ms/dotnet-download
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
  https://aka.ms/dotnet-download
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file '/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj'.
/home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj(0,0)
Microsoft.Build.Exceptions.InvalidProjectFileException: The SDK 'Microsoft.NET.SDK.WorkloadAutoImportPropsLocator' specified could not be found.  /snap/dotnet-sdk/126/sdk/5.0.203/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.props
  at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject (System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, System.Object[] args) [0x00040] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Shared.ProjectErrorUtilities.VerifyThrowInvalidProject[T1] (System.Boolean condition, System.String errorSubCategoryResourceName, Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, T1 arg0) [0x00003] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Shared.ProjectErrorUtilities.ThrowInvalidProject[T1] (Microsoft.Build.Shared.IElementLocation elementLocation, System.String resourceName, T1 arg0) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].ExpandAndLoadImportsFromUnescapedImportExpressionConditioned (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement, System.Collections.Generic.List`1[Microsoft.Build.Construction.ProjectRootElement]& projects, Microsoft.Build.BackEnd.SdkResolution.SdkResult& sdkResult, System.Boolean throwOnFileNotExistsError) [0x00309] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].ExpandAndLoadImports (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement, Microsoft.Build.BackEnd.SdkResolution.SdkResult& sdkResult) [0x00027] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0000d] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x00262] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0003b] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x00262] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0003b] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x00262] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].EvaluateImportElement (System.String directoryOfImportingFile, Microsoft.Build.Construction.ProjectImportElement importElement) [0x0003b] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].PerformDepthFirstPass (Microsoft.Build.Construction.ProjectRootElement currentProjectOrImport) [0x000e6] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].Evaluate () [0x00139] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Evaluator`4[P,I,M,D].Evaluate (Microsoft.Build.Evaluation.IEvaluatorData`4[P,I,M,D] data, Microsoft.Build.Construction.ProjectRootElement root, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, System.Int32 maxNodeCount, Microsoft.Build.Collections.PropertyDictionary`1[T] environmentProperties, Microsoft.Build.BackEnd.Logging.ILoggingService loggingService, Microsoft.Build.Evaluation.IItemFactory`2[S,T] itemFactory, Microsoft.Build.Evaluation.IToolsetProvider toolsetProvider, Microsoft.Build.Evaluation.ProjectRootElementCacheBase projectRootElementCache, Microsoft.Build.Framework.BuildEventContext buildEventContext, Microsoft.Build.BackEnd.SdkResolution.ISdkResolverService sdkResolverService, System.Int32 submissionId, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext, System.Boolean interactive) [0x00047] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project+ProjectImpl.Reevaluate (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00063] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project+ProjectImpl.ReevaluateIfNecessary (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00035] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project+ProjectImpl.ReevaluateIfNecessary (Microsoft.Build.BackEnd.Logging.ILoggingService loggingServiceForEvaluation, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project+ProjectImpl.ReevaluateIfNecessary (Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00007] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project+ProjectImpl.Initialize (System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00127] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings, Microsoft.Build.Evaluation.Context.EvaluationContext evaluationContext) [0x00073] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, System.String subToolsetVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection, Microsoft.Build.Evaluation.ProjectLoadSettings loadSettings) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.Project..ctor (System.String projectFile, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion, Microsoft.Build.Evaluation.ProjectCollection projectCollection) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.ProjectCollection.LoadProject (System.String fileName, System.Collections.Generic.IDictionary`2[TKey,TValue] globalProperties, System.String toolsVersion) [0x000f7] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at Microsoft.Build.Evaluation.ProjectCollection.LoadProject (System.String fileName, System.String toolsVersion) [0x00000] in <ea47b2df30ad4051b6681ba57ba83dc9>:0 
  at OmniSharp.MSBuild.ProjectLoader.EvaluateProjectFileCore (System.String filePath, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] projectConfigurationsInSolution) [0x00160] in <8fe908208c34498399bee743e9537395>:0 
  at OmniSharp.MSBuild.ProjectLoader.BuildProject (System.String filePath, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] configurationsInSolution) [0x0000d] in <8fe908208c34498399bee743e9537395>:0 
  at OmniSharp.MSBuild.ProjectFile.ProjectFileInfo.Load (System.String filePath, OmniSharp.MSBuild.ProjectIdInfo projectIdInfo, OmniSharp.MSBuild.ProjectLoader loader, System.Guid sessionId, OmniSharp.Services.DotNetInfo dotNetInfo) [0x00023] in <8fe908208c34498399bee743e9537395>:0 
  at OmniSharp.MSBuild.ProjectManager+<>c__DisplayClass31_0.<LoadProject>b__0 () [0x00000] in <8fe908208c34498399bee743e9537395>:0 
  at (wrapper delegate-invoke) System.Func`1[System.ValueTuple`3[OmniSharp.MSBuild.ProjectFile.ProjectFileInfo,System.Collections.Immutable.ImmutableArray`1[OmniSharp.MSBuild.Logging.MSBuildDiagnostic],OmniSharp.MSBuild.Notification.ProjectLoadedEventArgs]].invoke_TResult()
  at OmniSharp.MSBuild.ProjectManager.LoadOrReloadProject (System.String projectFilePath, System.Func`1[TResult] loader) [0x0001b] in <8fe908208c34498399bee743e9537395>:0 

[fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/CSharp_junior.csproj
[info]: OmniSharp.OmniSharpWorkspace
        Miscellaneous file: /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/Program.cs added to workspace
Received response for /v2/blockstructure but could not find request.
[warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService
        No symbol found. File: /home/georgeflorian/New Volume/VSCode Projects/CSharp_junior/Program.cs, Line: 6, Column: 39.

I've seen similar issues but couldn't find a fix. One of them was this line which didn't do a thing.

sudo ln -sv /usr/local/bin/dotnet /snap/dotnet-sdk/current/dotnet

ln: failed to create symbolic link '/snap/dotnet-sdk/current/dotnet': File exists

whereis dotnet returns dotnet: /usr/share/dotnet /snap/bin/dotnet

What do you guys think ?

@GeorgeFlorian
Copy link
Author

Nothing ? I've seen this issue a ton of times on this repo and still no fix has been found.

@GrabYourPitchforks
Copy link
Member

/cc @wli3 @dsplaisted looks like an SDK installation issue, can you handle?

@wli3
Copy link

wli3 commented May 21, 2021

@dsplaisted this is fixed right?

@GrabYourPitchforks
Copy link
Member

If you confirm that it's fixed then let us know what version of VS Code contains / will contain the fix and feel free to close this issue. Thanks! :)

@dsplaisted
Copy link
Member

This was fixed for Visual Studio. I'm not sure how the MSBuild SDK resolver that VS Code or Omnisharp uses gets updated.

@DustinCampbell Do you know what the process for this is? The resolver needs to be updated to include the changes from dotnet/sdk#17329 (and prior changes, such as dotnet/sdk#16414).

@rainersigwald
Copy link
Member

@dsplaisted I think it's defined here: https://github.com/OmniSharp/omnisharp-roslyn/blob/a13040712d02fa10bfb6c5847011bfc251de712d/tools/packages.config#L17

@JoeRobich, think we can update that? @dsplaisted, will 6.0.100-preview4 be sufficient? It looks like OmniSharp uses .NET SDK as a version source of truth rather than VS.

@JoeRobich
Copy link
Member

JoeRobich commented May 24, 2021

@rainersigwald Happy to get this updated. https://github.com/OmniSharp/omnisharp-roslyn/pull/2159/files

@JoeRobich
Copy link
Member

JoeRobich commented May 24, 2021

@GeorgeFlorian Merged in an update of OmniSharp's included build tools. If you set omnisharp.path to "latest" in VSCode settings, is it able to locate the SDK for you?

@marcpopMSFT
Copy link
Member

Do we know when this fix will be available on VSCode and should we mention it in the .NET 6 preview 4 release notes if the fix won't be out before then?

@JoeRobich
Copy link
Member

@marcpopMSFT We are in the middle of validating a new release. Happy to bring this change in.

@richlander
Copy link
Member

What's process (including tests) that we can use to avoid this in future. It has happened before.

@marcpopMSFT
Copy link
Member

Every time the SDK updates it's minimum MSBuild required version number, O# will have to update the version of MSBuild. They can query directly in the SDK branch or we can have someone on the breaking change email track this. Open to suggestions. We will do this 1-2 times a year.

@richlander
Copy link
Member

Is this just a missing checklist item then?

@GeorgeFlorian
Copy link
Author

@GeorgeFlorian Merged in an update of OmniSharp's included build tools. If you set omnisharp.path to "latest" in VSCode settings, is it able to locate the SDK for you?

Where can I find omnisharp.path ? What .json file should contain it ?

where

@JoeRobich
Copy link
Member

@GeorgeFlorian We've published an updated version 1.23.12 which contains the latest toolset. Please let us know if it resolves the issue you are seeing.

@sschultze
Copy link

sschultze commented May 26, 2021

@JoeRobich I had the same problem and I can confirm that upgrading to version v1.23.12 solved it.

@paigeweber13
Copy link

Omnisharp is giving me this error in visual studio code on Ubuntu 20.04, despite using v1.23.12 of the csharp extension. I'm afraid this is because I have a snap installation of dotnet sdk instead of using microsoft's apt repo... is it possible to point the extension to my install location? Or will I have to switch to the apt install?

@JoeRobich
Copy link
Member

@paigeweber13 Many users report that running ln -s /snap/dotnet-sdk/current/dotnet /usr/local/bin/dotnet makes their snap install discoverable.

@wli3 wli3 closed this as completed Sep 28, 2021
@wli3 wli3 removed their assignment Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-setup Issues related to installing .NET Core
Projects
None yet
Development

No branches or pull requests

10 participants