mono / monodevelop

MonoDevelop is a cross platform .NET IDE
http://www.monodevelop.com
2.82k stars 1.01k forks source link

Assembly Browser cannot view anything without a namespace #7413

Open GiantBlargg opened 5 years ago

GiantBlargg commented 5 years ago

Monodevelop Version 7.8.3

The Assembly Browser cannot view a class not contained within a namespace.

Example: Test.zip contains Test.cs:

public class Test {}

and a corresponding Test.dll compiled by mcs -target:library Test.cs. When Test.dll is opened in the Assembly Browser: Screenshot_20190421_155725 Expected: Class Test should appear under Assembly Test.

adrenalynn commented 5 years ago

Can confirm for 7.8.4 (build 2). Using the search function the class does show up in the results. But it is missing in the tree view, there is no way to select/view the class. Screenshot from 2019-08-15 07-39-43

godarklight commented 4 years ago

I came here wanting to point this out, but first I was going to verify that it didn't exist in the latest version, which of course isn't remotely possible to compile....

I do have a debian-oldstable chroot that contains monodevelop-4.0.12 that has the correct behaviour, the global namespace shows up as a - and you can browse it normally. I'm unable to do a git regression test because compiling an old monodevelop is pretty much out of the question too.

This bug is a pain because modding unity games is much easier if you can right click "go to declaration" into the reference assembly, but it's a moot point now that monodevelop is dead on linux.