dotnet / vscode-csharp

Official C# support for Visual Studio Code
MIT License
2.87k stars 675 forks source link

C# Intellisense is not working #3322

Closed alvasnet closed 1 hour ago

alvasnet commented 5 years ago

Environment data

dotnet --info output: акет SDK для .NET Core (отражающий любой global.json): Version: 3.0.100 Commit: 04339c3a26

Среда выполнения: OS Name: Windows OS Version: 10.0.17763 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\3.0.100\

Host (useful for support): Version: 3.0.0 Commit: 7d57652f33

.NET Core SDKs installed: 1.0.0-preview1-002702 [C:\Program Files\dotnet\sdk] 1.0.0-preview2-003121 [C:\Program Files\dotnet\sdk] 1.0.0-preview2-003131 [C:\Program Files\dotnet\sdk] 1.0.0-preview2-1-003177 [C:\Program Files\dotnet\sdk] 1.0.0 [C:\Program Files\dotnet\sdk] 1.1.0 [C:\Program Files\dotnet\sdk] 2.0.0 [C:\Program Files\dotnet\sdk] 2.1.101 [C:\Program Files\dotnet\sdk] 2.1.104 [C:\Program Files\dotnet\sdk] 2.1.202 [C:\Program Files\dotnet\sdk] 2.1.400 [C:\Program Files\dotnet\sdk] 2.1.403 [C:\Program Files\dotnet\sdk] 2.1.500 [C:\Program Files\dotnet\sdk] 2.1.502 [C:\Program Files\dotnet\sdk] 2.1.503 [C:\Program Files\dotnet\sdk] 2.1.505 [C:\Program Files\dotnet\sdk] 2.1.509 [C:\Program Files\dotnet\sdk] 2.1.600-preview-009426 [C:\Program Files\dotnet\sdk] 2.1.602 [C:\Program Files\dotnet\sdk] 3.0.100 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed: Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 1.0.0-rc2-3002702 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 1.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 1.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 1.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 1.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 1.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 1.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 1.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 1.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.13 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download VS Code version: Version: 1.38.1 (system setup) Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0 Date: 2019-09-11T13:35:35.387Z Electron: 4.2.10 Chrome: 69.0.3497.128 Node.js: 10.11.0 V8: 6.9.427.31-electron.0 OS: Windows_NT ia32 10.0.17763 C# Extension version: 1.21.4

Steps to reproduce

  1. type (.) dot for System.Console. for example

Expected behavior

shows Intellisense popup list

Actual behavior

does not work :-(

cdhoffmann commented 5 years ago

Not working for me either:


.NET Core SDK (reflecting any global.json):
 Version:   3.0.100
 Commit:    04339c3a26

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.14
 OS Platform: Darwin
 RID:         osx.10.14-x64
 Base Path:   /usr/local/share/dotnet/sdk/3.0.100/

Host (useful for support):
  Version: 3.0.0
  Commit:  7d57652f33

.NET Core SDKs installed:
  2.1.4 [/usr/local/share/dotnet/sdk]
  3.0.100 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download```
filipw commented 5 years ago

please post your Omnisharp logs, otherwise it's impossible to help

cdhoffmann commented 5 years ago

Sorry about that.


    Target: /Users/hoffdamann/Desktop/Excercise

OmniSharp server started with Mono 5.8.1
    Path: /Users/hoffdamann/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/OmniSharp.exe
    PID: 13615

[info]: OmniSharp.Stdio.Host
        Starting OmniSharp on MacOS 10.14 (x64)
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Located 2 MSBuild instance(s)
            1: Mono 15.0 - "/Library/Frameworks/Mono.framework/Versions/5.8.1/lib/mono/msbuild/15.0/bin"
            2: StandAlone 15.0 - "/Users/hoffdamann/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/msbuild/15.0/Bin"
[info]: OmniSharp.MSBuild.Discovery.MSBuildLocator
        Registered MSBuild instance: Mono 15.0 - "/Library/Frameworks/Mono.framework/Versions/5.8.1/lib/mono/msbuild/15.0/bin"
            CscToolPath = /Users/hoffdamann/.vscode/extensions/ms-vscode.csharp-1.15.2/.omnisharp/1.30.1/omnisharp/msbuild/15.0/Bin/Roslyn
            CscToolExe = csc.exe
[info]: OmniSharp.Cake.CakeProjectSystem
        Detecting Cake files in '/Users/hoffdamann/Desktop/Excercise'.
[info]: OmniSharp.Cake.CakeProjectSystem
        Could not find any Cake files
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Initializing in /Users/hoffdamann/Desktop/Excercise
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Auto package restore: False
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Update workspace context
[info]: OmniSharp.DotNet.DotNetProjectSystem
        Resolving projects references
[info]: OmniSharp.MSBuild.ProjectSystem
        No solution files found in '/Users/hoffdamann/Desktop/Excercise'
[info]: OmniSharp.MSBuild.ProjectManager
        Queue project update for '/Users/hoffdamann/Desktop/Excercise/Excercise.csproj'
[info]: OmniSharp.Script.ScriptProjectSystem
        Detecting CSX files in '/Users/hoffdamann/Desktop/Excercise'.
[info]: OmniSharp.Script.ScriptProjectSystem
        Could not find any CSX files
[info]: OmniSharp.Stdio.Host
        Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider
[info]: OmniSharp.Stdio.Host
        Configuration finished.
[info]: OmniSharp.Stdio.Host
        Omnisharp server running using Stdio at location '/Users/hoffdamann/Desktop/Excercise' on host 13538.
[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: /Users/hoffdamann/Desktop/Excercise/Excercise.csproj
[fail]: OmniSharp.MSBuild.ProjectLoader
        The "ProcessFrameworkReferences" task failed unexpectedly.
System.TypeLoadException: Could not resolve type with token 010000f9 (from typeref, class/assembly System.Runtime.InteropServices.OSPlatform, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
  at Microsoft.NET.Build.Tasks.TaskBase.Execute () [0x0002e] in <4f60ba738837484e89812ce739ac660a>:0 
  at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x00023] in <99064ce461714f6a83a1f24370e1d7b8>:0 
  at Microsoft.Build.BackEnd.TaskBuilder+<ExecuteInstantiatedTask>d__26.MoveNext () [0x00212] in <99064ce461714f6a83a1f24370e1d7b8>:0 
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file '/Users/hoffdamann/Desktop/Excercise/Excercise.csproj'.
/Users/hoffdamann/Desktop/Excercise/Excercise.csproj
/usr/local/share/dotnet/sdk/3.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(59,5): Error: The "ProcessFrameworkReferences" task failed unexpectedly.
System.TypeLoadException: Could not resolve type with token 010000f9 (from typeref, class/assembly System.Runtime.InteropServices.OSPlatform, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089)
  at Microsoft.NET.Build.Tasks.TaskBase.Execute () [0x0002e] in <4f60ba738837484e89812ce739ac660a>:0 
  at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute () [0x00023] in <99064ce461714f6a83a1f24370e1d7b8>:0 
  at Microsoft.Build.BackEnd.TaskBuilder+<ExecuteInstantiatedTask>d__26.MoveNext () [0x00212] in <99064ce461714f6a83a1f24370e1d7b8>:0 ```
filipw commented 5 years ago

thanks. your environment is quite out of date - it says you are using C# Extension 1.15.2 while the latest is 1.21.4.

It also shows that you are on Mono 5.8.1 while the latest stable (with msbuild that supports .NET Core 3.0) 6.4.0.198.

Updating them should resolve your problems.

alvasnet commented 5 years ago

Starting OmniSharp server at 06.10.2019, 8:27:45 Target: c:\work\js\Cons3

OmniSharp server started. Path: C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4\OmniSharp.exe PID: 6184

[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

alvasnet commented 5 years ago

Any news?

rchande commented 5 years ago

@alvasnet Omnisharp log?

alvasnet commented 5 years ago

Please see above:

Starting OmniSharp server at 06.10.2019, 8:27:45 Target: c:\work\js\Cons3

OmniSharp server started. Path: C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4\OmniSharp.exe PID: 6184

[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

alvasnet commented 5 years ago

One more see below. What will you say?

Starting OmniSharp server at 08.10.2019, 9:04:47 Target: c:\work\js\Cons3

OmniSharp server started. Path: C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4\OmniSharp.exe PID: 11556

    Starting OmniSharp on Windows 6.2.9200.0 (x64)
    DotNetPath set to dotnet
    Located 3 MSBuild instance(s)
        1: Visual Studio Community 2019 16.3.29326.143 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
        2: Visual Studio Community 2017 15.9.28307.858 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
        3: StandAlone 16.0 - "C:\Users\alex\.vscode\extensions\ms-vscode.csharp-1.21.4\.omnisharp\1.34.4\.msbuild\Current\Bin"
    Registered MSBuild instance: Visual Studio Community 2019 16.3.29326.143 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"

[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

cdhoffmann commented 5 years ago

thanks. your environment is quite out of date - it says you are using C# Extension 1.15.2 while the latest is 1.21.4.

It also shows that you are on Mono 5.8.1 while the latest stable (with msbuild that supports .NET Core 3.0) 6.4.0.198.

Updating them should resolve your problems.

That fixed it. I have no idea why VSCode wasn't prompting me for an update. Thanks!

alvasnet commented 5 years ago

My version is 1.21.4. Please see below. Any suggestions?


Starting OmniSharp server at 06.10.2019, 8:27:45 Target: c:\work\js\Cons3

OmniSharp server started. Path: C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4\OmniSharp.exe PID: 6184

[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).


One more see below. What will you say?

Starting OmniSharp server at 08.10.2019, 9:04:47 Target: c:\work\js\Cons3

OmniSharp server started. Path: C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4\OmniSharp.exe PID: 11556

Starting OmniSharp on Windows 6.2.9200.0 (x64) info: OmniSharp.Services.DotNetCliService DotNetPath set to dotnet info: OmniSharp.MSBuild.Discovery.MSBuildLocator Located 3 MSBuild instance(s) 1: Visual Studio Community 2019 16.3.29326.143 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin" 2: Visual Studio Community 2017 15.9.28307.858 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin" 3: StandAlone 16.0 - "C:\Users\alex.vscode\extensions\ms-vscode.csharp-1.21.4.omnisharp\1.34.4.msbuild\Current\Bin" info: OmniSharp.MSBuild.Discovery.MSBuildLocator Registered MSBuild instance: Visual Studio Community 2019 16.3.29326.143 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin" [ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

alvasnet commented 5 years ago

Any news?

caiocsgomes commented 5 years ago

Is there any solution available now for this problem?

cartermp commented 4 years ago

@alvasnet Does this still reproduce for you with the latest version of the plugin? The issue seems to be related to OmniSharp initialization and/or project loading, which will prevent any IntelliSense from getting triggered.

alvasnet commented 4 years ago

@cartermp My latest Omnisharp log:

Starting OmniSharp server at 16.05.2020, 20:11:22 Target: c:\work\js\WebPost

OmniSharp server started. Path: c:\Users\alex.vscode\extensions\ms-dotnettools.csharp-1.21.18.omnisharp\1.35.1\OmniSharp.exe PID: 14424

[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

JoeRobich commented 4 years ago

@alvasnet Does this happen with every project you try and open or just a particular one? If it is a particular project, can you share it as a repro?

Also, if you update the omnisharp.loggingLevel to be debug do you get any additional details in your Omnisharp log?

alvasnet commented 4 years ago

@JoeRobich My latest Omnisharp log with omnisharp.loggingLevel: debug:

Starting OmniSharp server at 17.05.2020, 19:40:31 Target: c:\work\js\WebPost

OmniSharp server started. Path: c:\Users\alex.vscode\extensions\ms-dotnettools.csharp-1.21.18.omnisharp\1.35.1\OmniSharp.exe PID: 5752

    Loaded OmniSharp.Cake, Version=1.35.0.0, Culture=neutral, PublicKeyToken=null
    Loaded OmniSharp.DotNetTest, Version=1.35.0.0, Culture=neutral, PublicKeyToken=null
    Loaded OmniSharp.Host, Version=1.35.0.0, Culture=neutral, PublicKeyToken=null
    Loaded OmniSharp.MSBuild, Version=1.35.0.0, Culture=neutral, PublicKeyToken=null
    Loaded OmniSharp.Roslyn, Version=1.35.0.0, Culture=neutral, PublicKeyToken=null
    Loaded OmniSharp.Roslyn.CSharp, Version=1.35.0.0, Culture=neutral, PublicKeyToken=null
    Loaded OmniSharp.Script, Version=1.35.0.0, Culture=neutral, PublicKeyToken=null
    Loaded OmniSharp.Shared, Version=1.35.0.0, Culture=neutral, PublicKeyToken=null
    Starting OmniSharp on Windows 6.2.9200.0 (x64)
    DotNetPath set to dotnet
    Located 3 MSBuild instance(s)
        1: Visual Studio Community 2019 16.5.30104.148 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
        2: Visual Studio Community 2017 15.9.28307.1064 - "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin"
        3: StandAlone 16.4 - "c:\Users\alex\.vscode\extensions\ms-dotnettools.csharp-1.21.18\.omnisharp\1.35.1\.msbuild\Current\Bin"
    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.Utilities.Core.dll' (name-only).
    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.Tasks.Core.dll' (name-only).
    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.dll' (name-only).
    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.Framework.dll' (name-only).
    Registered MSBuild instance: Visual Studio Community 2019 16.5.30104.148 - "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin"
    Attempting to resolve 'Microsoft.Build.Utilities.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.Utilities.Core.dll' (name-only).
    Attempting to resolve 'Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.Framework.dll' (name-only).
    Attempting to resolve 'Microsoft.CodeAnalysis.VisualBasic.Workspaces, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    FAILURE: Could not locate 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll'.
    Attempting to resolve 'Microsoft.CodeAnalysis.VisualBasic.Features, Version=3.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
    FAILURE: Could not locate 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.CodeAnalysis.VisualBasic.Features.dll'.
    Attempting to resolve 'Microsoft.CodeAnalysis.Workspaces.resources, Version=3.6.0.0, Culture=ru-RU, PublicKeyToken=31bf3856ad364e35'
    FAILURE: Could not locate 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.CodeAnalysis.Workspaces.resources.dll'.
    Attempting to resolve 'Microsoft.CodeAnalysis.Workspaces.resources, Version=3.6.0.0, Culture=ru-RU, PublicKeyToken=31bf3856ad364e35'
    FAILURE: Could not locate 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.CodeAnalysis.Workspaces.resources.dll'.

[ERROR] Error: OmniSharp server load timed out. Use the 'omnisharp.projectLoadTimeout' setting to override the default delay (one minute).

    Detecting Cake files in 'c:\work\js\WebPost'.
    Could not find any Cake files
    Attempting to resolve 'Microsoft.Build'
    SUCCESS: Resolved to 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Build.dll' (name-only).
    MSBuild environment: 

Mode: VisualStudio RunningTests: False RunningInVisualStudio: False MSBuildToolsDirectory32: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin MSBuildToolsDirectory64: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\amd64 MSBuildSDKsPath: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Sdks CurrentMSBuildConfigurationFile: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe.config CurrentMSBuildExePath: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe CurrentMSBuildToolsDirectory: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin VisualStudioInstallRootDirectory: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community MSBuildExtensionsPath: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild

    No solution files found in 'c:\work\js\WebPost'
cartermp commented 4 years ago

The log file indicates there is no solution file to process, but there's no failure to load a project. Do you have a repro that could be shared?

JoeRobich commented 1 hour ago

A lot has changed with O# project loading since this issue was opened. If you are still running into problems, please open a new issue at https://github.com/OmniSharp/omnisharp-roslyn/issues