File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -1393,6 +1393,21 @@ def CSharpSolutionFile( filepath ):
13931393If the path returned by ` CSharpSolutionFile ` is not an actual file, YCM will
13941394fall back to the other way of finding the file.
13951395
1396+ #### Use with .NET 6.0 and .NET SDKs
1397+
1398+ YCM ships with older version of OmniSharp-Roslyn based on Mono runtime.
1399+ It is possible to use it with .NET 6.0 and newer, but it requires manual setup.
1400+
1401+ 1 . Download NET 6.0 version of the OmniSharp server for your system from
1402+ [ releases] ( https://github.com/OmniSharp/omnisharp-roslyn/releases/ )
1403+ 1 . Set ` g:ycm_roslyn_binary_path ` to the unpacked executable ` OmniSharp `
1404+ 1 . Create a solution file if one doesn't already exist, it is currently required
1405+ by YCM for internal bookkeeping
1406+ 1. Run ` dotnet new sln ` at the root of your project
1407+ 1. Run ` dotnet sln add <project1.csproj> <project2.csproj> ... `
1408+ for all of your projects
1409+ 1 . Run ` :YcmRestartServer `
1410+
13961411### Python Semantic Completion
13971412
13981413YCM relies on the [ Jedi] [ ] engine to provide completion and code navigation. By
You can’t perform that action at this time.
0 commit comments