rt

解决方案 »

  1.   

    Text = Environment.Version.ToString();
      

  2.   

    如何用程序或脚本判断另一个  .net程序集应该运行在1.1还是2.0下面?
      

  3.   

    一个系统里可以同时存在两个版本的.NET Framework吗?没有试过
    关注
      

  4.   

    操作系统可以同时存在两个版本的.NET Framework。
      

  5.   

    其他进程可以通过分析它引用的模块判断
    比如:引用了C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll
    可以判断出是2.0
      

  6.   

    Once the assembly is loaded, you can use Assembly.ImageRuntimeVersion
    to check the runtime version ot was complied against (stored in the
    metadata header).Most assemblies will also reference the version of Mscorlib.dll that
    was included in that runtime version, so you can also check the
    assembly's references with a tool such as ILDASM.