BlueMonkMN
BlueMonkMN

Reputation: 25601

Finding which .NET assembly defines a type

If I recall correctly, in the good old C++ days MSDN used to be helpful in that it would show you not only the header file you needed to include to access a particular function, but also the DLL you needed to link to where that functionality was implemented. But these days, while MSDN tells you the namespace in which an object is defined, it doesn't tell you what reference you need to add to get at that object. Isn't or shouldn't there be a simple way to find all the .NET objects referenced in various answers posted about the web, mostly here on SO? How do you find which assembly contains an object? (I happen to be looking for System.ComponentModel.ExpandableObjectConverter at the moment.)

Upvotes: 1

Views: 84

Answers (1)

Thomas Levesque
Thomas Levesque

Reputation: 292645

The information is visible on the documentation page for system.componentmodel.expandableobjectconverter.

Just below the inheritance hierarchy, near the top of the page, you can see this:

Namespace: System.ComponentModel
Assembly: System (in System.dll)

Upvotes: 7

Related Questions