If I install the dotnet-sdk-5.0 package from the Microsoft repository, everything works fine. However, when I run 'dnf update', and the fedora packages are installed, Omnisharp fails when I start Visual Studio Code. If I run 'dnf history undo last', everything works again.
I noticed that an extra package was installed when updating to the fedora repository dotnet packages: dotnet-templates-5.0.
Hi,
Thanks for reaching out!
Rune Elvemo rune.elvemo@gmail.com writes:
If I install the dotnet-sdk-5.0 package from the Microsoft repository, everything works fine. However, when I run 'dnf update', and the fedora packages are installed, Omnisharp fails when I start Visual Studio Code. If I run 'dnf history undo last', everything works again.
This sounds like: https://github.com/dotnet/source-build/issues/2006.
Can you share the error messages from OmniSharp? That will help us understand if it's the same issue or not.
For some context, we added support for OmniSharp to 5.0, but we only verified it for "console" project types. We didn't realize until very recently that OmniSharp needs specific assembly/dll files for specfic project types. Turns out that OmniSharp is broken with Blazor and ASP.NET Core project types.
We don't have a fix yet, but we are looking at this issue.
Thanks, Omair
-- PGP Key: B157A9F0 (http://pgp.mit.edu/) Fingerprint = 9DB5 2F0B FD3E C239 E108 E7BD DF99 7AF8 B157 A9F0
dotnet-sig@lists.fedoraproject.org