Comments (12)
I compiled from source again and it seems to work fine.
Might I suggest a build from source
section in the README I used:
dotnet build
, but with that you need all the dll's
For one package I used:
dotnet publish -r linux-x64 -p:PublishSingleFile=true -p:UseAppHost=true --self-contained false
This project works really good as an LSP for me. For work we have a huge project with the whole range of Microsoft Targets,
From NET 5.0 to .NET standard 2.0 to windows only .NET Framework 4.6.1. Almost all LSP actions across projects work and inside a single file everything always works in Linux with neovim.
Thanks again for the help 😄
from csharp-language-server.
I have released a new version on nuget which should fix this issue:
from csharp-language-server.
I build this project from source linked it to neovim lsp and it seems to have fixed it I think it is the fix in #45
Would it be possible to make a tag ?
from csharp-language-server.
I started getting the same thing just recently (a couple of days agao), on macOS though
this looks to me like SDK breakage or something to me:
the cause (probably) is this:
do you have .net 7 previews installed by chance? like I do..
from csharp-language-server.
also, I am not sure if #45 fixes it, because now I'm getting this:
LSP :: csharp-ls: msbuildWorkspace.Diagnostics: [Failure] Msbuild failed when processing the file '/Users/bob/src/test-csharp/project2/project2.csproj' with message: The SDK 'Microsoft.NET.Sdk' specified could not be found. /Users/bob/src/test-csharp/project2/project2.csproj
LSP :: csharp-ls: msbuildWorkspace.Diagnostics: [Failure] Msbuild failed when processing the file '/Users/bob/src/test-csharp/project1/project1.csproj' with message: The SDK 'Microsoft.NET.Sdk' specified could not be found. /Users/bob/src/test-csharp/project1/project1.csproj
for my test solution, and none of the projects load properly
from csharp-language-server.
I also see more related issues here:
some people say the cause is:
UPDATE:
- ok, I think I fixed the issue with 59e00b4
you need to build csharp-ls from source or wait a bit until I release a new version
from csharp-language-server.
Hi thanks for the fast response !
This confirms my feeling it was tied to a sudo apt upgrade
and dotnet versions.
For your info I don't have dotnet 7 previews installed. I'm on a simple ubunu 20.04.
I will build form source for.
from csharp-language-server.
great to hear!
could you make a PR though? I am not sure what changes you are proposing, and maybe you could write a PR with the changes proposed yourself?
will close this issue once I have new version released
from csharp-language-server.
@nikolightsaber just a slight off-topic question–do you use razor? I am thinking of developing support for cshtml, but not sure if that is very much a popular request
from csharp-language-server.
Good idea I will make a PR.
No I don't use razor at the moment. I also have no idea how much it is used. I hear it is pretty cool though.
from csharp-language-server.
Confirm it working for me with 0.5.6 you can close the issue for me
Thanks again,
from csharp-language-server.
great!
from csharp-language-server.
Related Issues (20)
- Struggling to run the language server standalone HOT 3
- Error when attempting to go to metadata definition HOT 2
- Error In Emacs 28.1 HOT 1
- Uncontrolled error when no `.csproj` file is found HOT 3
- <see> crefs break when inside <para>s
- <seealso> tags are not handled in doc comments
- <list> tags are not handled in doc comments
- Error In Emacs 28 HOT 4
- Project loading no longer blocks/show progress
- --solution command line option not honoured when multiple solutions available in project
- csharp-ls can't find its references to load on projects built with msbuild HOT 2
- dotnet tool install --global csharp-ls does not install to the correct directory HOT 1
- how to hide the messages shown at the bottom when i open a csharp file up in neovim? HOT 3
- Add support for textDocument/typeDefinition HOT 1
- Dotnet 8 HOT 20
- Possibility of on-disk caching HOT 1
- Adding support for progress HOT 1
- running as a local package HOT 1
- how to disable this
- errors when run app built x86 in x64 window
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csharp-language-server.