Skip to content

Omnisharp do not support new solution file (.slnx) #875

@kotpodlawkoy

Description

@kotpodlawkoy

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions