Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以获得生成DLL的.NET Framework 版本的信息?
谢谢
此信息存储在程序集的TargetFramework属性中。您可以使用 ILSpy 之类的工具或使用反射来阅读它。
是的,使用dotPeek(或其他类似工具,例如 JustDecompile、.NET Reflector、ILSpy),您可以查看程序集的属性。