-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The namespace 'namespace' already contains a definition for 'classname' #466
Comments
Ah, thank you. Sorry for duplicating. |
No problem. As this is starting to bug people I think I need to take a look at this sooner. This has started to happen since the update to one of the versions in 1.32.x series of the A workaround for the time being is to set the variable You can set this variable via:
|
I've been getting quite good at Emacs Lisp lately, if this is something you'd like help with. I typically use JetBrains Rider or Visual Studio 2017 but I miss my Emacs keybinds and magit and everything, so I'm trying to make my setup for .NET development work in my favorite Unix text editor ;). Thank you so much for making this work in Emacs! |
@beeuhtricks welcome! I am half a noob too and willing to help/guide if you want to do a PR. |
@razzmatazz I would love to do a PR. Reading #464 it seems like the solution is to block on interacting with the server until it has loaded the project. At a guess this would entail putting all the code that interacts with the server in a block and making sure it has logic to interact synchronously with the server? I know Emacs Lisp doesn't really have threads. |
(I will answer in #464) |
I'm using OmniSharp Emacs from MELPA on Windows and Mac with Flycheck and I get a bunch of these lints in every C# buffer that I open, including saying that methods are ambiguous between the two classes and so forth. I am quite certain I haven't actually duplicated every class in my project. I've tried it with VSCode and I can get the same error if I edit the buffer, and it's fixed by doing "Restart OmniSharp" in the C-S-p menu. (dotnet/vscode-csharp#785) I have tried restarting the server in Emacs and this does not appear to fix the problem. Any ideas?
The text was updated successfully, but these errors were encountered: