Open daver32 opened 8 months ago
are you still experiencing this issue?
I encountered this issue as well while running on Linux. In my case it was due to having the wrong dotnet version installed. Upon failing the attempted install failed before it could clean up the tmp folder where it was downloading files, in there was a proj file that said dotnet 7 but I was running dotnet 6. After upgrading to dotnet 7 the script ran past this error.
Another way is to change the dotnet version in ~/.local/share/nvim/lazy/roslyn.nvim/lua/roslyn/install.lua
:
local csproj = {
-- ...
[[ <TargetFramework>net7.0</TargetFramework>]],
-- ... ^ set to what you use
I'm now packaging the language server in CI and releasing in this repository. I'll change the install process to just download the assets from github releases.
When there's an error in
dotnet restore
, it fails to log with the error:I tried wrapping the log in
vim.schedule
:which seems to work, although I'm not sure if it's the correct thing to do.
The actual produced log:
After dumping the command params, I tried running it manually, and got the output:
I don't really know what that means, or whether it pertains to this plugin at all, although it seems that the roslyn libs actually got restored properly, so the LSP works in the end.
I'm using nvim 0.10 on Linux. dotnet --version is 7.0.112