Skip to content

No instances of MSBuild could be detected #215

@pandasoli

Description

@pandasoli

System: Windows Tiny11

After installing and installing .Net v8 and open my editor I see this error:

Error executing vim.schedule lua callback: ...m Files/Neovim/share/nvim/runtime/lua/vim/lsp/client.lua:588: RPC[Error] code_name = InternalError, message = "System.InvalidOperationException: No instances of MSBuild could be detected.\13\
Try calling RegisterInstance or RegisterMSBuildPath to manually register one.\13\
   at CSharpLanguageServer.Handlers.Initialization.handleInitialize@52-6.Invoke(Unit _arg2) in /_//src/CSharpLanguageServer/Handlers/Initialization.fs:line 55\13\
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvokeNoHijackCheck[a,b](AsyncActivation`1 ctxt, b result1, FSharpFunc`2 userCode) in D:\\workspace\\_work\\1\\s\\src\\fsharp\\FSharp.Core\\async.fs:line 464\13\
   at Ionide.LanguageServerProtocol.Server.sendServerNotification@139-3.Invoke(AsyncActivation`1 ctxt)\13\
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction) in D:\\workspace\\_work\\1\\s\\src\\fsharp\\FSharp.Core\\async.fs:line 104"
stack traceback:
        [C]: in function 'assert'
        ...m Files/Neovim/share/nvim/runtime/lua/vim/lsp/client.lua:588: in function 'fn'
        vim/_editor.lua:351: in function <vim/_editor.lua:350>

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions