Automatically generate C# wrapper class from dll in Visual Studio 2010 Express?
问题 I was told by a colleague of mine that Visual Studio allows one to point to a .dll and auto-magically generate a C# wrapper class. Is this really possible? And if so, how does one go about achieving this? I've browsed the web, but have failed to come up with anything! Thanks all! Figured I'd share these resources as well, How to: Create COM Wrappers And courtesy of @Darin, Consuming Unmanaged DLL Functions 回答1: 3 cases: The DLL represents a managed assembly => you directly reference it in