且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何找到程序集的完全限定名称?

更新时间:2023-02-08 19:27:27

如果您可以将程序集加载到 .NET 应用程序中,您可以执行以下操作:

If you can load the assembly into a .NET application, you can do:

typeof(SomeTypeInTheAssembly).Assembly.FullName

如果你不能,那么你可以使用 ildasm.exe,它会在某个地方:

If you cannot then you can use ildasm.exe and it will be in there somewhere:

ildasm.exe MyAssembly.dll /text