Closed j0of closed 1 month ago
I can verify a .NET 6 project does not work either. So, the problem might be lack of net6.0 support in general.
On further inspection, net6 support works when you only have the .NET SDK installed. If you install both Framework, and .NET Core on Windows then only Framework seems to work with Omnisharp. My guess is this is an msbuild limitation.
Should be fixed by PR https://github.com/sublimelsp/LSP-OmniSharp/pull/40, which makes transition to latest .NET 6+ based OmniSharp binaries. They are required to deal with latest .NET projects.
I prefer to use .NET 6 when coding in C# so that I don't have to declare
using System;
or the main method, but I get an error whenever I don't.