Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A Crash #2

Open
HeWillBeDark opened this issue Dec 6, 2022 · 1 comment
Open

A Crash #2

HeWillBeDark opened this issue Dec 6, 2022 · 1 comment

Comments

@HeWillBeDark
Copy link

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

@CppCXY
Copy link
Member

CppCXY commented Dec 7, 2022

https://github.com/CppCXY/EmmyLua-Unity-LS 应该去这里提问

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants