Skip to content

C# language server stopped working after switching to .ts file with tsgo enabled #2430

@bjoerni79

Description

@bjoerni79

Extension Version

0.20251228.1

VS Code Version

1.107.1

Operating system Version

Windows 11

Steps to reproduce

  1. Set up a .NET ASP (MVC) project
  2. Build a simple MVC project (or default from dotnet console)
  3. Add typescript support
  4. Enable tsgo
  5. Switching between the C# and tsgo lsp causes inconsistency in c#. I.e. The go to declaration function does not longer work and the reference count is limited to the same class.

tsgo.log

Issue

I am developing a ASP.NET MVC web app and use TS for my Javascript code. Works great.
I noticed that after switching to tsgo (today, Dec, 28th, 2025), the C# LSP does not seem to work as expected.

I.e. the reference counter and the go to definition stopped working. I could compile and start the web app, this was not the issue.

If you need any logs, please let me know. I can go back if required, this is not the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: EditorRelated to the LSP server, editor experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions