bug#81425: 30.2; eglot: Error running timer: (error "Glob ’.NETCore App,Versio n=v10.0.As semblyAttr ibutes.cs’ invalid at 12")

João Távora <[email protected]> Sat, 1 Aug 2026 10:56:21 +0100
Newsgroups gmane.emacs.bugs
Message-ID <CALDnm529ta7kK54hbM9ns=5o-MtjC8ztJeacnwo+yBCDjQn-BQ@mail.gmail.com>
No . I'll try to fix this today or this weekend.  If I can't just keep pinging.

On Sat, Aug 1, 2026 at 9:48 AM Eli Zaretskii <[email protected]> wrote:
>
> Ping!  João, any further comments?
>
> > Date: Thu, 16 Jul 2026 23:18:13 +0000
> > From: Simon Guest <[email protected]>
> > Cc: Eli Zaretskii <[email protected]>, [email protected]
> >
> > OK, fair enough.  Here is a minimal repro, with vanilla Emacs 31 pre-release and a newly created dotnet project.
> >
> > Install Emacs 31 and dotNET 10, then:
> >
> > $ emacs --version
> > GNU Emacs 31.0.90
> > Copyright (C) 2026 Free Software Foundation, Inc.
> > GNU Emacs comes with ABSOLUTELY NO WARRANTY.
> > You may redistribute copies of GNU Emacs
> > under the terms of the GNU General Public License.
> > For more information about these matters, see the file named COPYING.
> >
> > $ dotnet --list-sdks
> > 10.0.301 [/nix/store/rw0qr991694vw0wl8546zc868z6f5n7m-dotnet-sdk-10.0.301/share/dotnet/sdk]
> >
> >
> > Create a new project in current directory (assumed empty):
> >
> > $ dotnet new console
> >
> >
> > Install roslyn-language-server as a local dotnet tool (only available as prerelease so far):
> > See https://github.com/dotnet/roslyn/blob/main/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/README.md
> >
> > $ dotnet tool install --local roslyn-language-server --prerelease
> >
> >
> > Check the language server is happy:
> >
> > $ dotnet roslyn-language-server --version
> > 5.9.0-1.26303.1+d74775a9e15f1ec193c5cc4dd37653b5ef447a2c
> >
> > If instead it says you must install .NET to run this application, then something like this is required, according to where you installed dotnet:
> >
> > $ export DOTNET_ROOT=/nix/store/rw0qr991694vw0wl8546zc868z6f5n7m-dotnet-sdk-10.0.301/share/dotnet
> > $ ls $DOTNET_ROOT
> > dnx  dotnet  host  library-packs  LICENSE.txt  metadata  packs  sdk  sdk-manifests  shared  templates  ThirdPartyNotices.txt
> >
> >
> > Start vanilla Emacs with this language server:
> >
> > $ emacs -nw -Q --eval "(progn (with-eval-after-load 'eglot (add-to-list 'eglot-server-programs '(csharp-mode . (\"dotnet\" \"roslyn-language-server\" \"--stdio\" \"--autoLoadProjects\")))) (find-file \"Program.cs\") (eglot-ensure))"
> >
> > Notice this message:
> > Error running timer: (error "Glob ’.NETCoreApp,Version=v10.0.AssemblyAttributes.cs’ invalid at 12")
> >
> >



-- 
João Távora