OmniSharp / omnisharp-vim

Vim omnicompletion (intellisense) and more for C#
http://www.omnisharp.net
MIT License
1.69k stars 168 forks source link

"No JSON object could be decoded" error with Roslyn on macOS #370

Closed patreeceeo closed 6 years ago

patreeceeo commented 6 years ago

System info:

.vimrc (see the end for OmniSharp stuff):


call pathogen#infect()
call pathogen#helptags()

if has("gui_macvim")
    let macvim_hig_shift_movement = 1
    " macmenu &File.New\ Tab key=<nop>
    map <D-t> :CommandT<CR>
    set guioptions=egmt
    set guifont=Monaco:h16
    set guitablabel=%>%f%M
else
    set mouse=a
endif

set spell
" set bg=light

set ts=2
set sts=2
set sw=2
set expandtab
" automatically CD to directory of file being edited
" helpful with file path autocompletion
" and editing sibling files
set autochdir

syntax on
colorscheme evening
filetype on
filetype plugin indent on
set nu
set title
set wildmenu
" set wildmode=full
set wildmode=list:longest,full
set autoindent
set smartindent
set ignorecase
set smartcase
set smarttab
set hlsearch
set history=200
set scrolloff=4
set incsearch
set wrap
set linebreak
set nolist
set ruler
set nowrapscan
set noswapfile
" Use W! to save a file as superuser
cmap W! w !sudo tee % >/dev/null

" FileType specific changes
" =========================
autocmd BufNewFile,BufRead *.mako,*.mak,*.jinja2,*.erb setlocal ft=xml
autocmd BufNewFile,BufRead *Makefile,*.mk setlocal noexpandtab
autocmd BufNewFile,BufRead *.txt setlocal spell spelllang=en_us
au FileType python setlocal expandtab shiftwidth=4 tabstop=8 softtabstop=4 smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class,with
au FileType python set omnifunc=pythoncomplete#Complete
au FileType ruby setlocal iskeyword+=!
au FileType ruby setlocal iskeyword+=?
autocmd BufNewFile,BufRead *.html.erb setlocal filetype=html
autocmd BufNewFile,BufRead *.hbs setlocal filetype=html
autocmd BufNewFile,BufRead *.rb,*.rake abbreviate <buffer> pry binding.pry
autocmd BufNewFile,BufRead *.tsx setlocal filetype=typescript.jsx
autocmd BufNewFile,BufRead *.md setlocal filetype=markdown
autocmd BufNewFile,BufRead .eslintrc setlocal filetype=json
autocmd BufNewFile,BufRead *.js,*.coffee,*.jsx iabbr <buffer> cl console.log
autocmd BufNewFile,BufRead *.js,*.coffee,*.jsx iabbr <buffer> cdb console.debug
autocmd BufNewFile,BufRead *.js,*.coffee,*.jsx iabbr <buffer> dbg debugger
autocmd BufNewFile,BufRead *.js,*.jsx nnoremap <leader>ja :call JSXEncloseReturn()<CR>
autocmd BufNewFile,BufRead *.js,*.jsx nnoremap <leader>ji :call JSXEachAttributeInLine()<CR>
autocmd BufNewFile,BufRead *.js,*.jsx nnoremap <leader>je :call JSXExtractPartialPrompt()<CR>
autocmd BufNewFile,BufRead *.js,*.jsx vnoremap <leader>je :call JSXExtractPartialPrompt()<CR>
autocmd BufNewFile,BufRead *.js,*.jsx nnoremap <leader>jc :call JSXChangeTagPrompt()<CR>
autocmd BufNewFile,BufRead *.js,*.jsx nnoremap vat :call JSXSelectTag()<CR>
autocmd BufNewFile,BufRead *.jsx setlocal filetype=javascript.jsx

let g:markdown_fenced_languages = ['html', 'javascript', 'python']

let g:SuperTabDefaultCompletionType = "context"
" Mappings
" ========

set wildignore+=*.sw*,*.pyc,.git,target/*,tmp/*,dist/*,build/*,coverage/*

" This following was inspired by:
" http://jeetworks.org/node/89
"
" tl;dr
"
" When you get used to not using the arrow keys to move around make them do
" something else useful.

nnoremap <S-Down>    :m+<CR>
nnoremap <S-Up>      :m-2<CR>
inoremap <S-Down>    <Esc>:m+<CR>==gi
inoremap <S-Up>      <Esc>:m-2<CR>==gi
vnoremap <S-Down>    :m'>+<CR>gv=gv
vnoremap <S-Up>      :m-2<CR>gv=gv

nnoremap <S-Left>      << 
nnoremap <S-Right>     >>
inoremap <S-Left>      <Esc><<i 
inoremap <S-Right>     <Esc>>>i 
vnoremap <S-Left>      < 
vnoremap <S-Right>     > 
vnoremap <S-Tab>       >
vnoremap <S-Tab>     <

" vim-commentary
nnoremap <Leader>\ :Commentary<CR>
vnoremap <Leader>\ :Commentary<CR>

set foldmethod=indent
set foldlevel=99

" au WinLeave * set nocursorline nocursorcolumn
:nnoremap <Leader>l :set cursorline! cursorcolumn!<CR>

function! NumberToggle()
  if(&relativenumber == 1)
    set number
  else
    set relativenumber
  endif
endfunc

nnoremap <C-n> :call NumberToggle()<cr>
:au FocusLost * :set number
:au FocusGained * :set relativenumber
autocmd InsertEnter * :set number
autocmd InsertLeave * :set relativenumber

vmap <leader>c <esc>:'<,'>:CoffeeCompile<CR>
map <leader>c :CoffeeCompile<CR>

set titlestring=%M%t

cabbr erc e ~/.vimrc
cabbr ezrc e ~/.zshrc
cabbr <expr> %% expand('%:p:h')

function! SetTabWidth (tw)
  echo 'tabwidth:'
  let new_tw=str2nr(a:tw)
  echo new_tw
  set shiftwidth={new_tw}
  set tabstop={new_tw}
  set softtabstop={new_tw}
endfunction

command! -nargs=1 SetTabWidth call SetTabWidth(<f-args>)

" function! GoToCode (projname)
"   echo a:projname
"   cd $HOME."/codez/"
"   cd ${a:projname}
" endfunction

" command! -nargs=1 Code call GoToCode(<f-args>)

" Consider dashes (-) part of words
set iskeyword+=-

let g:syntastic_mode_map={ 'mode': 'active',
                     \ 'active_filetypes': [],
                     \ 'passive_filetypes': ['html'] }

if filereadable(expand('%:p:h')."/.jshintrc") 
  let g:syntastic_javascript_checkers = ['jshint']
else
  let g:syntastic_javascript_checkers = ['eslint']
endif

let g:syntastic_scss_checkers = ['scss-lint']

let g:syntastic_typescript_checkers = ['eslint', 'tslint']

let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_loc_list_height = 3
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*

set shell=/bin/zsh

" rspec mappings
map <Leader>p :call RunCurrentSpecFile()<CR>
map <Leader>s :call RunNearestSpec()<CR>
map <Leader>r :call RunLastSpec()<CR>

function! RunCurrentSpecFile()
  if InSpecFile()
    let l:command = "s %"
    call SetLastSpecCommand(l:command)
    call RunSpecs(l:command)
  endif
endfunction

function! RunNearestSpec()
  if InSpecFile()
    let l:command = "s %:" . line(".")
    call SetLastSpecCommand(l:command)
    call RunSpecs(l:command)
  endif
endfunction

function! RunLastSpec()
  if exists("t:last_spec_command")
    call RunSpecs(t:last_spec_command)
  endif
endfunction

function! InSpecFile()
  return match(expand("%"), "_spec.rb$") != -1
endfunction

function! SetLastSpecCommand(command)
  let t:last_spec_command = a:command
endfunction

function! RunSpecs(command)
  execute ":w\|!" . a:command
endfunction

command! -nargs=? EFC call EditFilesContaining(<q-args>)

function! EditFilesContaining(pattern)
  let files=split(system("ag -l --nocolor ".a:pattern))
  echom "Editing the first 20 results"
  for file in files[0:20]
    execute("tabedit ".file)
  endfor
endfunction

" autocmd BufRead * CommandTFlush

" Use JSX hilighting in javascript files
let g:jsx_ext_required = 0

highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
autocmd InsertLeave * match ExtraWhitespace /\s\+$/
autocmd BufWinLeave * call clearmatches()

" Emmet-vim Config
" ================

" let g:user_emmet_mode='nv'
" let g:user_emmet_install_global = 0
" autocmd FileType html,javascript.jsx EmmetInstall

" OmniSharp-Roslyn C# auto-completion
" ===================================
let g:OmniSharp_server_type = 'roslyn'
let g:OmniSharp_server_path = '/Library/Frameworks/Mono.framework/Commands/mono-sgen64 /Users/patrick/Downloads/omnisharp-osx/omnisharp/OmniSharp.exe'
let g:OmniSharp_timeout = 5
let g:omnisharp_proc_debug = 1

" OmniSharp-server (legacy) C# auto-completion
" ============================================
" let g:OmniSharp_server_type = 'v1'
" let g:syntastic_cs_checkers = ['syntax', 'semantic', 'issues']
" let g:OmniSharp_server_path = '/Library/Frameworks/Mono.framework/Commands/mono-sgen64 /Users/patrick/codez/omnisharp-server/OmniSharp/bin/Debug/OmniSharp.exe'

let g:Omnisharp_start_server = 0

Description

I went through all the other issues about this error message and still couldn't get it working. I just keep getting this same error message. I'm starting OmniSharp (https://github.com/OmniSharp/omnisharp-roslyn/releases) from the command-line with let g:Omnisharp_start_server = 0. It appears that it's not getting any requests from Vim, at least it's not printing anything after its initial startup messages. And it appears to start just fine:

{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Stdio.Host","Message":"Starting OmniSharp on MacOS 10.13.5 (x64)"},"Seq":1,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Services.DotNetCliService","Message":"DotNetPath set to dotnet"},"Seq":2,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Located 2 MSBuild instance(s)\n            1: Mono 15.0 - \"/Library/Frameworks/Mono.framework/Versions/5.8.1/lib/mono/msbuild/15.0/bin\"\n            2: StandAlone 15.0 - \"/Users/patrick/Downloads/omnisharp-osx/omnisharp/msbuild/15.0/Bin\""},"Seq":3,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.Discovery.MSBuildLocator","Message":"Registered MSBuild instance: Mono 15.0 - \"/Library/Frameworks/Mono.framework/Versions/5.8.1/lib/mono/msbuild/15.0/bin\"\n            CscToolPath = /Users/patrick/Downloads/omnisharp-osx/omnisharp/msbuild/15.0/Bin/Roslyn\n            CscToolExe = csc.exe"},"Seq":4,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Cake.CakeProjectSystem","Message":"Detecting Cake files in '/Users/patrick/UnityProjects/sandbox'."},"Seq":5,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Cake.CakeProjectSystem","Message":"Could not find any Cake files"},"Seq":6,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.DotNet.DotNetProjectSystem","Message":"Initializing in /Users/patrick/UnityProjects/sandbox"},"Seq":7,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.DotNet.DotNetProjectSystem","Message":"Auto package restore: False"},"Seq":8,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.DotNet.DotNetProjectSystem","Message":"Update workspace context"},"Seq":9,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.DotNet.DotNetProjectSystem","Message":"Resolving projects references"},"Seq":10,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectSystem","Message":"Detecting projects in '/Users/patrick/UnityProjects/sandbox/sandbox.sln'."},"Seq":11,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Queue project update for '/Users/patrick/UnityProjects/sandbox/Assembly-CSharp.csproj'"},"Seq":12,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Script.ScriptProjectSystem","Message":"Detecting CSX files in '/Users/patrick/UnityProjects/sandbox'."},"Seq":13,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Script.ScriptProjectSystem","Message":"Could not find any CSX files"},"Seq":14,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Stdio.Host","Message":"Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpWorkspaceOptionsProvider"},"Seq":15,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Stdio.Host","Message":"Configuration finished."},"Seq":16,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Stdio.Host","Message":"Omnisharp server running using Stdio at location '/Users/patrick/UnityProjects/sandbox' on host -1."},"Seq":17,"Type":"event"}
{"Event":"started","Body":null,"Seq":18,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Loading project: /Users/patrick/UnityProjects/sandbox/Assembly-CSharp.csproj"},"Seq":19,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Successfully loaded project file '/Users/patrick/UnityProjects/sandbox/Assembly-CSharp.csproj'."},"Seq":20,"Type":"event"}
{"Event":"MsBuildProjectDiagnostics","Body":{"FileName":"/Users/patrick/UnityProjects/sandbox/Assembly-CSharp.csproj","Warnings":[],"Errors":[]},"Seq":21,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Adding project '/Users/patrick/UnityProjects/sandbox/Assembly-CSharp.csproj'"},"Seq":22,"Type":"event"}
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.MSBuild.ProjectManager","Message":"Update project: Assembly-CSharp"},"Seq":23,"Type":"event"}
{"Event":"ProjectAdded","Body":{"MsBuildProject":{"ProjectGuid":"c0090b42-a80b-df2d-74fb-044b3669a501","Path":"/Users/patrick/UnityProjects/sandbox/Assembly-CSharp.csproj","AssemblyName":"Assembly-CSharp","TargetPath":"/Users/patrick/UnityProjects/sandbox/Temp/bin/Debug/Assembly-CSharp.dll","TargetFramework":".NETFramework,Version=v3.5","SourceFiles":["/Users/patrick/UnityProjects/sandbox/Assets/DrawPolygon.cs","/Users/patrick/UnityProjects/sandbox/Assets/Triangulator.cs"],"TargetFrameworks":[],"OutputPath":"Temp/bin/Debug/","IsExe":false,"IsUnityProject":true}},"Seq":24,"Type":"event"}
{"Event":"ProjectChanged","Body":{"MsBuildProject":{"ProjectGuid":"c0090b42-a80b-df2d-74fb-044b3669a501","Path":"/Users/patrick/UnityProjects/sandbox/Assembly-CSharp.csproj","AssemblyName":"Assembly-CSharp","TargetPath":"/Users/patrick/UnityProjects/sandbox/Temp/bin/Debug/Assembly-CSharp.dll","TargetFramework":".NETFramework,Version=v3.5","SourceFiles":["/Users/patrick/UnityProjects/sandbox/Assets/DrawPolygon.cs","/Users/patrick/UnityProjects/sandbox/Assets/Triangulator.cs"],"TargetFrameworks":[],"OutputPath":"Temp/bin/Debug/","IsExe":false,"IsUnityProject":true}},"Seq":25,"Type":"event"}

(Possible) steps to reproduce

Edit a CS file on the system described above, then run any :OmniSharp... command.

Misc

I am able to get it working with OmniSharp-Server though, so it seems to be something about the Roslyn version.

Thanks in advance.

nickspoons commented 6 years ago

From the first couple of lines of your omnisharp-roslyn output I can see that you're using the stdio version. OmniSharp-vim uses Http, and needs the http version of omnisharp-roslyn, as described in the README.

patreeceeo commented 6 years ago

Hey, thanks for getting back to me. How do I run the http version? Here's everything in that latest release of omnisharp-roslyn:

~/Downloads/omnisharp-osx
☻  ls -R
bin       etc       framework lib       omnisharp run

./bin:
mono.osx

./etc:
config.osx mono

./etc/mono:
4.5

./etc/mono/4.5:
machine.config

./framework:
Microsoft.Build.Engine.dll                            System.Numerics.dll
Microsoft.Build.Tasks.v4.0.dll                        System.ObjectModel.dll
Microsoft.Build.Utilities.v4.0.dll                    System.Reflection.Extensions.dll
Mono.Data.Tds.dll                                     System.Reflection.Primitives.dll
Mono.Posix.dll                                        System.Reflection.dll
Mono.Security.dll                                     System.Resources.ResourceManager.dll
System.AppContext.dll                                 System.Runtime.Extensions.dll
System.Collections.Concurrent.dll                     System.Runtime.InteropServices.RuntimeInformation.dll
System.Collections.dll                                System.Runtime.InteropServices.dll
System.ComponentModel.Composition.dll                 System.Runtime.Numerics.dll
System.ComponentModel.Primitives.dll                  System.Runtime.Serialization.dll
System.ComponentModel.TypeConverter.dll               System.Runtime.dll
System.ComponentModel.dll                             System.Security.Cryptography.Encoding.dll
System.Configuration.dll                              System.Security.Cryptography.Primitives.dll
System.Console.dll                                    System.Security.Cryptography.X509Certificates.dll
System.Core.dll                                       System.Security.dll
System.Data.dll                                       System.ServiceModel.Internals.dll
System.Diagnostics.Contracts.dll                      System.Text.Encoding.Extensions.dll
System.Diagnostics.Debug.dll                          System.Text.Encoding.dll
System.Diagnostics.Tools.dll                          System.Text.RegularExpressions.dll
System.Diagnostics.Tracing.dll                        System.Threading.Tasks.Dataflow.dll
System.Dynamic.Runtime.dll                            System.Threading.Tasks.Parallel.dll
System.EnterpriseServices.dll                         System.Threading.Tasks.dll
System.Globalization.dll                              System.Threading.Thread.dll
System.IO.Compression.FileSystem.dll                  System.Threading.dll
System.IO.Compression.dll                             System.Transactions.dll
System.IO.FileSystem.Primitives.dll                   System.Xaml.dll
System.IO.FileSystem.dll                              System.Xml.Linq.dll
System.IO.dll                                         System.Xml.ReaderWriter.dll
System.Linq.Expressions.dll                           System.Xml.XDocument.dll
System.Linq.Parallel.dll                              System.Xml.dll
System.Linq.dll                                       System.dll
System.Net.Http.dll                                   mscorlib.dll
System.Numerics.Vectors.dll                           netstandard.dll

./lib:
libMonoPosixHelper.dylib

./omnisharp:
Cake.Scripting.Abstractions.dll                             OmniSharp.Cake.dll
Cake.Scripting.Transport.dll                                OmniSharp.Cake.pdb
Dotnet.Script.DependencyModel.NuGet.dll                     OmniSharp.DotNet.ProjectModel.dll
Dotnet.Script.DependencyModel.dll                           OmniSharp.DotNet.ProjectModel.pdb
Microsoft.CodeAnalysis.CSharp.Features.dll                  OmniSharp.DotNet.dll
Microsoft.CodeAnalysis.CSharp.Scripting.dll                 OmniSharp.DotNet.pdb
Microsoft.CodeAnalysis.CSharp.Workspaces.dll                OmniSharp.DotNetTest.dll
Microsoft.CodeAnalysis.CSharp.dll                           OmniSharp.DotNetTest.pdb
Microsoft.CodeAnalysis.Features.dll                         OmniSharp.Extensions.JsonRpc.dll
Microsoft.CodeAnalysis.Scripting.dll                        OmniSharp.Extensions.LanguageServerProtocol.dll
Microsoft.CodeAnalysis.Workspaces.Desktop.dll               OmniSharp.Host.dll
Microsoft.CodeAnalysis.Workspaces.dll                       OmniSharp.Host.pdb
Microsoft.CodeAnalysis.dll                                  OmniSharp.LanguageServerProtocol.dll
Microsoft.DotNet.PlatformAbstractions.dll                   OmniSharp.LanguageServerProtocol.dll.config
Microsoft.Extensions.Caching.Abstractions.dll               OmniSharp.LanguageServerProtocol.pdb
Microsoft.Extensions.Caching.Memory.dll                     OmniSharp.MSBuild.dll
Microsoft.Extensions.CommandLineUtils.dll                   OmniSharp.MSBuild.pdb
Microsoft.Extensions.Configuration.Abstractions.dll         OmniSharp.Plugins.dll
Microsoft.Extensions.Configuration.Binder.dll               OmniSharp.Plugins.pdb
Microsoft.Extensions.Configuration.CommandLine.dll          OmniSharp.Roslyn.CSharp.dll
Microsoft.Extensions.Configuration.EnvironmentVariables.dll OmniSharp.Roslyn.CSharp.pdb
Microsoft.Extensions.Configuration.FileExtensions.dll       OmniSharp.Roslyn.dll
Microsoft.Extensions.Configuration.Json.dll                 OmniSharp.Roslyn.pdb
Microsoft.Extensions.Configuration.dll                      OmniSharp.Script.dll
Microsoft.Extensions.DependencyInjection.Abstractions.dll   OmniSharp.Script.pdb
Microsoft.Extensions.DependencyInjection.dll                OmniSharp.Stdio.dll
Microsoft.Extensions.DependencyModel.dll                    OmniSharp.Stdio.pdb
Microsoft.Extensions.FileProviders.Abstractions.dll         OmniSharp.deps.json
Microsoft.Extensions.FileProviders.Physical.dll             OmniSharp.exe
Microsoft.Extensions.FileSystemGlobbing.dll                 OmniSharp.exe.config
Microsoft.Extensions.Logging.Abstractions.dll               OmniSharp.pdb
Microsoft.Extensions.Logging.Console.dll                    System.Collections.Immutable.dll
Microsoft.Extensions.Logging.dll                            System.Composition.AttributedModel.dll
Microsoft.Extensions.Options.ConfigurationExtensions.dll    System.Composition.Convention.dll
Microsoft.Extensions.Options.dll                            System.Composition.Hosting.dll
Microsoft.Extensions.PlatformAbstractions.dll               System.Composition.Runtime.dll
Microsoft.Extensions.Primitives.dll                         System.Composition.TypedParts.dll
Microsoft.TestPlatform.CommunicationUtilities.dll           System.Diagnostics.DiagnosticSource.dll
Microsoft.TestPlatform.CoreUtilities.dll                    System.Diagnostics.FileVersionInfo.dll
Microsoft.TestPlatform.PlatformAbstractions.dll             System.Diagnostics.StackTrace.dll
Microsoft.TestPlatform.VsTestConsole.TranslationLayer.dll   System.Globalization.Calendars.dll
Microsoft.VisualStudio.TestPlatform.Common.dll              System.IO.Compression.ZipFile.dll
Microsoft.VisualStudio.TestPlatform.ObjectModel.dll         System.IO.Compression.dll
Microsoft.Win32.Primitives.dll                              System.Net.Http.dll
Newtonsoft.Json.dll                                         System.Net.Sockets.dll
NuGet.Common.dll                                            System.Reflection.Metadata.dll
NuGet.Configuration.dll                                     System.Runtime.CompilerServices.Unsafe.dll
NuGet.DependencyResolver.Core.dll                           System.Security.Cryptography.Algorithms.dll
NuGet.Frameworks.dll                                        System.Text.Encoding.CodePages.dll
NuGet.LibraryModel.dll                                      System.Threading.Tasks.Dataflow.dll
NuGet.Packaging.Core.dll                                    System.ValueTuple.dll
NuGet.Packaging.dll                                         System.Xml.ReaderWriter.dll
NuGet.ProjectModel.dll                                      System.Xml.XPath.XDocument.dll
NuGet.Protocol.dll                                          System.Xml.XPath.dll
NuGet.Versioning.dll                                        System.Xml.XmlDocument.dll
OmniSharp.Abstractions.dll                                  msbuild
OmniSharp.Abstractions.pdb

./omnisharp/msbuild:
15.0

./omnisharp/msbuild/15.0:
Bin                    Microsoft.Common.props

./omnisharp/msbuild/15.0/Bin:
MSBuild.dll                                   Microsoft.NETFramework.targets
MSBuild.dll.config                            Microsoft.ServiceModel.targets
Microsoft.Build.Framework.dll                 Microsoft.VisualBasic.CrossTargeting.targets
Microsoft.Build.Tasks.Core.dll                Microsoft.VisualBasic.CurrentVersion.targets
Microsoft.Build.Utilities.Core.dll            Microsoft.VisualBasic.targets
Microsoft.Build.dll                           Microsoft.WinFx.targets
Microsoft.CSharp.CrossTargeting.targets       Microsoft.WorkflowBuildExtensions.targets
Microsoft.CSharp.CurrentVersion.targets       Microsoft.Xaml.targets
Microsoft.CSharp.Mono.targets                 NuGet.Build.Tasks.dll
Microsoft.CSharp.targets                      NuGet.Commands.dll
Microsoft.Common.CrossTargeting.targets       NuGet.Common.dll
Microsoft.Common.CurrentVersion.targets       NuGet.Configuration.dll
Microsoft.Common.Mono.targets                 NuGet.Frameworks.dll
Microsoft.Common.overridetasks                NuGet.ProjectModel.dll
Microsoft.Common.targets                      NuGet.Protocol.dll
Microsoft.Common.tasks                        NuGet.Versioning.dll
Microsoft.Data.Entity.targets                 NuGet.targets
Microsoft.NETFramework.CurrentVersion.props   Roslyn
Microsoft.NETFramework.CurrentVersion.targets SdkResolvers
Microsoft.NETFramework.props

./omnisharp/msbuild/15.0/Bin/Roslyn:
Microsoft.Build.Tasks.CodeAnalysis.dll            System.Security.AccessControl.dll
Microsoft.CSharp.Core.targets                     System.Security.Claims.dll
Microsoft.CodeAnalysis.CSharp.Scripting.dll       System.Security.Cryptography.Algorithms.dll
Microsoft.CodeAnalysis.CSharp.dll                 System.Security.Cryptography.Encoding.dll
Microsoft.CodeAnalysis.Scripting.dll              System.Security.Cryptography.Primitives.dll
Microsoft.CodeAnalysis.dll                        System.Security.Cryptography.X509Certificates.dll
Microsoft.DiaSymReader.Native.amd64.dll           System.Security.Principal.Windows.dll
Microsoft.DiaSymReader.Native.x86.dll             System.Text.Encoding.CodePages.dll
Microsoft.Managed.Core.targets                    System.ValueTuple.dll
System.AppContext.dll                             System.Xml.ReaderWriter.dll
System.Collections.Immutable.dll                  System.Xml.XPath.XDocument.dll
System.Console.dll                                System.Xml.XPath.dll
System.Diagnostics.FileVersionInfo.dll            System.Xml.XmlDocument.dll
System.Diagnostics.StackTrace.dll                 csc.exe
System.IO.Compression.dll                         csc.exe.config
System.IO.FileSystem.Primitives.dll               csc.rsp
System.IO.FileSystem.dll                          csi.exe
System.IO.Pipes.AccessControl.dll                 csi.exe.config
System.IO.Pipes.dll                               csi.rsp
System.Reflection.Metadata.dll

./omnisharp/msbuild/15.0/Bin/SdkResolvers:
Microsoft.DotNet.MSBuildSdkResolver

./omnisharp/msbuild/15.0/Bin/SdkResolvers/Microsoft.DotNet.MSBuildSdkResolver:
Microsoft.DotNet.MSBuildSdkResolver.dll libhostfxr.dylib
patreeceeo commented 6 years ago

Oh I see, there's separate release for that, nevermind. I'll try that.

nickspoons commented 6 years ago

Yep, it's a separate download, give that one a go.

patreeceeo commented 6 years ago

It's working now, thanks!

nickspoons commented 6 years ago

Great, glad to hear it!