.NET version assembly was compiled with (target version)

时间:2019-03-19 15:18:19

标签: c# .net visual-studio

once upon a time a long, long time ago we used to see the .net version a library (dll) or executable was compiled with when you viewed the files properties via file explorer. Now you cant, so what’s the quickest way of checking what version it uses now ? I've been playing with various tools like ILSpy, but I need to have something that’s just easy to install like a reg entry so I can right click and view version.

We have loads of files on multiple servers, including client servers. Sometimes we need to ask what version are you running, at the moment its proving difficult.

any ideas ?

1 个答案:

答案 0 :(得分:1)

一种快速的方法(不在我标记的副本中)是使用文本编辑器编辑.dll并搜索以下阶段“ .NETFramework,Version = v”

v旁边,您将获得构建程序集所依据的版本号(在我的示例中为4.6.1)。

相关问题