OmniSharp / omnisharp-server

HTTP wrapper around NRefactory allowing C# editor plugins to be written in any language.
http://www.omnisharp.net
MIT License
380 stars 97 forks source link

Fix crash on missing Name attribute in a ProjectReference #184

Closed anisoptera closed 9 years ago

anisoptera commented 9 years ago

The "Name" attribute is not actually required in a ProjectReference, as it turns out. Some .sln files I work with don't have it.

If it doesn't exist, the resulting exception from .First causes the OmniSharp server to get into a very bad state - the omnisharp-emacs package actually hangs Emacs waiting for it to respond, which it never will.

nosami commented 9 years ago

Sorry for taking so long!