Best Way To Determine If .NET 3.5 Is Installed

前端 未结 9 1589
时光取名叫无心
时光取名叫无心 2021-02-05 12:43

I need to programatically determine whether .NET 3.5 is installed. I thought it would be easy:

<% Response.Write(Environment.Version.ToString()); %>
         


        
9条回答
  •  不思量自难忘°
    2021-02-05 13:45

    Another interesting find is the presence of assemblies here:

    C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5

    You'd think Microsoft would build a check for "latest version" into the framework.

提交回复
热议问题