-
Notifications
You must be signed in to change notification settings - Fork 676
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
OmniSharp Intellisense Linux Ubuntu 20.04 does not works #4286
Comments
@Serwur Sorry you are running into issues. Typically Unity will generate the solution and project files for your script assets. From the log ("No solution files found in '/home/marcin/Dokumenty/unity-projects/project1'") it seems like maybe Unity hasn't built these files. I believe if you open the project in Unity that will trigger them to generate. |
@JoeRobich Now everything works as expected. To the point, for anyone who may has similar problems:
|
@Serwur Glad things are working for you now. Step 3 in your list is unnecessary, since the reference assemblies are installed as part of the Mono installation. The reason you were seeing the warning was because |
an issue tracking the improvement in this area is here OmniSharp/omnisharp-roslyn#2029 |
Hey,
This is unity project. I open root folder where Assets, Library, Logs, Packages and ProjectSettings is located. I did it in past on Windows and everything worked as it should be.
What I have tried:
Any ideas?
Here is the log:
Starting OmniSharp server at 9.12.2020, 22:56:46
Target: /home/marcin/Dokumenty/unity-projects/project1
OmniSharp server started.
Path: /home/marcin/.vscode/extensions/ms-dotnettools.csharp-1.23.7/.omnisharp/1.37.4/run
PID: 34738
Starting OmniSharp on ubuntu 20.4 (x64)
info: OmniSharp.Services.DotNetCliService
DotNetPath set to dotnet
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
Located 1 MSBuild instance(s)
1: StandAlone 16.8.0 - "/home/marcin/.vscode/extensions/ms-dotnettools.csharp-1.23.7/.omnisharp/1.37.4/omnisharp/.msbuild/Current/Bin"
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
MSBUILD_EXE_PATH environment variable set to '/home/marcin/.vscode/extensions/ms-dotnettools.csharp-1.23.7/.omnisharp/1.37.4/omnisharp/.msbuild/Current/Bin/MSBuild.exe'
info: OmniSharp.MSBuild.Discovery.MSBuildLocator
Registered MSBuild instance: StandAlone 16.8.0 - "/home/marcin/.vscode/extensions/ms-dotnettools.csharp-1.23.7/.omnisharp/1.37.4/omnisharp/.msbuild/Current/Bin"
CscToolExe = csc.exe
MSBuildToolsPath = /home/marcin/.vscode/extensions/ms-dotnettools.csharp-1.23.7/.omnisharp/1.37.4/omnisharp/.msbuild/Current/Bin
CscToolPath = /home/marcin/.vscode/extensions/ms-dotnettools.csharp-1.23.7/.omnisharp/1.37.4/omnisharp/.msbuild/Current/Bin/Roslyn
BypassFrameworkInstallChecks = true
MSBuildExtensionsPath = /home/marcin/.vscode/extensions/ms-dotnettools.csharp-1.23.7/.omnisharp/1.37.4/omnisharp/.msbuild
info: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in '/home/marcin/Dokumenty/unity-projects/project1'.
info: OmniSharp.Cake.CakeProjectSystem
Could not find any Cake files
info: OmniSharp.MSBuild.ProjectSystem
No solution files found in '/home/marcin/Dokumenty/unity-projects/project1'
info: OmniSharp.Script.ScriptProjectSystem
Detecting CSX files in '/home/marcin/Dokumenty/unity-projects/project1'.
info: OmniSharp.Script.ScriptProjectSystem
Could not find any CSX files
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.WorkspaceInitializer
Configuration finished.
info: OmniSharp.Stdio.Host
Omnisharp server running using Stdio at location '/home/marcin/Dokumenty/unity-projects/project1' on host 34572.
The text was updated successfully, but these errors were encountered: