Skip to content

A Crash #2

@HeWillBeDark

Description

@HeWillBeDark

Unhandled exception. System.InvalidOperationException: No instances of MSBuild could be detected.
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.
at Microsoft.Build.Locator.MSBuildLocator.RegisterDefaults()
at unity.Services.CSharpWorkspace..ctor() in /Users/runner/work/EmmyLua-Unity-LS/EmmyLua-Unity-LS/unity/Services/CSharpWorkspace.cs:line 20
at Program.<>c.<

$>b__0_3(IServiceCollection services) in /Users/runner/work/EmmyLua-Unity-LS/EmmyLua-Unity-LS/unity/Main.cs:line 53
at OmniSharp.Extensions.JsonRpc.JsonRpcOptionsRegistryBase1.WithServices(Action1 servicesAction)
at Program.<>c__DisplayClass0_0.<$>b__0(LanguageServerOptions options) in /Users/runner/work/EmmyLua-Unity-LS/EmmyLua-Unity-LS/unity/Main.cs:line 43
at OmniSharp.Extensions.LanguageServer.Server.LanguageServer.From(Action1 optionsAction, IServiceProvider outerServiceProvider, CancellationToken cancellationToken) at OmniSharp.Extensions.LanguageServer.Server.LanguageServer.From(Action1 optionsAction)
at Program.$(String[] args) in /Users/runner/work/EmmyLua-Unity-LS/EmmyLua-Unity-LS/unity/Main.cs:line 15
at Program.(String[] args)
[Info - 12:29:06 AM] Connection to server got closed. Server will restart.
[Error - 12:29:06 AM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 12:29:06 AM] EmmyLuaUnity plugin for vscode. client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097

macOS: Ventura 13.0.1
VSCode: 1.73.1
dotnet:7.0.100

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