question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’m trying to use coc.nvim with C#, and this appears to be new only supported LSP.

I’m on linux and I have the latest Mono SDKs and .NET core 5 & 6 installed, but I’m getting this when trying to use csharp-ls:

lies for .NETFramework,Version=v4.7.2 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpack
Loaded server for /home/tshannon/workspace/cold/cold.sln in 4.9s

So csharp-ls is running via .net 6, but the solution needs .net 4.7.2 which is supplied via mono. Anyone know how I work around this?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
josteinkcommented, Jun 1, 2022

Great. Now this project contains voodoo as well 😅

1reaction
timshannoncommented, May 26, 2022

For me the mono assemblies / SDK are installed, just not where they are expected to be possibly?

The error references looking for them in at /usr/share/dotnet when they are actually at /usr/lib/mono/.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SDKs
Supported SDKs · Vanilla Javascript · VueJS · ReactJS · Flutter · Flutter · Android · React Native · IOS.
Read more >
Getting Started | Mono
Tutorial that shows how to write a Gtk# application using MonoDevelop and its visual Gtk# designer. ... Guide to porting a Winforms application...
Read more >
Can I use the Open XML SDK in Mono?
As of 2014 the SDK has gone open source. So, an updated answer is yes, check this latest screencast. and it has been...
Read more >
xamarin/mono-sdks: Build scripts and test apps for mono
Build scripts and sample apps for mono targeting its supported platforms. Build instructions ... Android NDK.
Read more >
.NET SDK or the Mono SDK - Godot Engine - Q&A
Hey munja95,. the short answer: Use .NET 6. The long answer: Godot 3 internally uses Mono with C# 7.3. The IDE will jell...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found