omnisharp-vim icon indicating copy to clipboard operation
omnisharp-vim copied to clipboard

Omnisharp do not support new solution file (.slnx)

Open kotpodlawkoy opened this issue 1 week ago • 0 comments

Unity VS Code extension at new version 2.0.25 (October 07, 2025) generates .slnx solution files instead of .sln or .slnf

As I can judge, Omnisharp do not support this format yet and I get the following error: 'System.ArgumentException: OmniSharp only supports being launched with a directory path or a path to a s olution (.sln, .slnf) file.'

Steps to reproduce the problem:

  1. Set VS Code as "External Script Editor"
  2. Press "Generate project files"
  3. Try to open any script file in vim

Please tell me, if I am wrong someway Otherwise, I'm really looking forward to omnisharp-vim can support for the .slnx format

As a temporary solution of this problem I've wrote fork of unity vs code extension, what creates .sln files without selecting vs code as external script editor at Unity preferences (https://github.com/kotpodlawkoy/kotpodlawkoy.sln.csproj.generator).

kotpodlawkoy avatar Dec 01 '25 16:12 kotpodlawkoy