• <bdo id='SuYwc'></bdo><ul id='SuYwc'></ul>

    1. <i id='SuYwc'><tr id='SuYwc'><dt id='SuYwc'><q id='SuYwc'><span id='SuYwc'><b id='SuYwc'><form id='SuYwc'><ins id='SuYwc'></ins><ul id='SuYwc'></ul><sub id='SuYwc'></sub></form><legend id='SuYwc'></legend><bdo id='SuYwc'><pre id='SuYwc'><center id='SuYwc'></center></pre></bdo></b><th id='SuYwc'></th></span></q></dt></tr></i><div id='SuYwc'><tfoot id='SuYwc'></tfoot><dl id='SuYwc'><fieldset id='SuYwc'></fieldset></dl></div>
    2. <legend id='SuYwc'><style id='SuYwc'><dir id='SuYwc'><q id='SuYwc'></q></dir></style></legend>

        <small id='SuYwc'></small><noframes id='SuYwc'>

        <tfoot id='SuYwc'></tfoot>

        .net runtime 2.0 而不是最新版本?

        .net runtime 2.0 instead of the newest version?(.net runtime 2.0 而不是最新版本?)
          <tbody id='vcPWB'></tbody>
        1. <small id='vcPWB'></small><noframes id='vcPWB'>

            <i id='vcPWB'><tr id='vcPWB'><dt id='vcPWB'><q id='vcPWB'><span id='vcPWB'><b id='vcPWB'><form id='vcPWB'><ins id='vcPWB'></ins><ul id='vcPWB'></ul><sub id='vcPWB'></sub></form><legend id='vcPWB'></legend><bdo id='vcPWB'><pre id='vcPWB'><center id='vcPWB'></center></pre></bdo></b><th id='vcPWB'></th></span></q></dt></tr></i><div id='vcPWB'><tfoot id='vcPWB'></tfoot><dl id='vcPWB'><fieldset id='vcPWB'></fieldset></dl></div>
            <legend id='vcPWB'><style id='vcPWB'><dir id='vcPWB'><q id='vcPWB'></q></dir></style></legend>

              <bdo id='vcPWB'></bdo><ul id='vcPWB'></ul>
              <tfoot id='vcPWB'></tfoot>

                  本文介绍了.net runtime 2.0 而不是最新版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在我的计算机上,我安装了 .NET Framework 2.0,然后安装了 .NET Fratmeworkt 3.0.但是最近我从一个程序中得到一个异常,说事件 1000,.NET 运行时 2.0 错误报告".我想知道,为什么这个程序仍然使用 .NET Runtime 2.0 而不是新版本.如何检查特定程序使用的 .NET Runtime 版本?可以改吗?

                  On my computer I have installed .NET Framework 2.0 then later .NET Fratmeworkt 3.0. However recently i get an exception from one program saying "Event 1000, .NET Runtime 2.0 Error Reporting". I'm wondering, why this program is still using .NET Runtime 2.0 instead the new version. How could I check which version of .NET Runtime a specific program uses? Is possible to change it?

                  推荐答案

                  .NET 运行时"实际上是指公共语言运行时"(CLR),对于 .NET 框架 2.0、3.0 和 3.5 已经是 2.0 版.只有在 .NET 4.0 中,CLR 版本也增加到 4.0(有很多问题是关于 SO 上的双版本的混淆,对于一个很好的概述,请参阅这个 回答).因此,您看到的消息可能令人困惑,但仍然是正确的.

                  The ".NET runtime" actually means the "Common Language Runtime" (CLR), which has been version 2.0 for the .NET framework 2.0, 3.0 and 3.5. Only with .NET 4.0 the CLR version was also incremented to 4.0 (there are a lot of questions an confusion about this dual versioning on SO, for a nice overview see this answer). So the message your seeing might be confusing but is still correct.

                  如果您尚未安装 .NET 4.0,则 .NET 运行时 2.0 是您计算机上唯一存在的版本.

                  If you haven't installed .NET 4.0, the .NET runtime 2.0 is the only version present on your machine.

                  您可能想知道应用程序是否实际上是针对 .NET 框架 3.0 (3.5) 而不是 .NET 框架 2.0 编译/构建的.

                  You might want to know if an application is actually compiled/build against the .NET framework 3.0 (3.5) instead of the .NET framework 2.0.

                  要获取此信息,您需要查看应用程序程序集的元数据,即存储对其他程序集(包括 .NET 框架本身的引用)的引用的位置 - 以及其他程序集的版本.

                  To get this information you need to look at the application assemblies' meta data, i.e. the place where references to other assemblies, including those of the .NET framework itself are stored - together with the version of those other assemblies.

                  要查看此信息,您可以使用 Reflector,或 .NET Framework SDK(或 Visual Studio)附带的 ILDASM.EXE.

                  To view this information you can use Reflector, or ILDASM.EXE which comes with the .NET Framework SDK (or Visual Studio).

                  例如,在您选择的二进制文件(可执行文件或 DLL)上使用 ILDASM.EXE,然后打开MANIFEST"节点.你会看到这样的条目:

                  For example, using ILDASM.EXE on a binary (executable or DLL) of your choice, then open the "MANIFEST" node. You'll see entries like this:

                  .assembly extern System.Windows.Forms
                  {
                    .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )                         // .zV.4..
                    .ver 4:0:0:0
                  }
                  

                  在这种情况下,这是从 .NET 4.0 应用程序中获取的,并且仅引用 System.Windows.Forms.dll,但我想你明白了.

                  In thise case this was taken from a .NET 4.0 application and only refers to System.Windows.Forms.dll, but I think you get the picture.

                  您可以(部分)影响应用程序使用的运行时版本,方法是指定 <supportedRuntime> 元素在应用程序的配置文件中.有关此问题的更多讨论,请参阅 this Stack Overflow question,在 其他.

                  You can (partly) influence which version of the runtime an application uses, by specifying the <supportedRuntime> element in your application's configuration file. For more discussion on this see this Stack Overflow question, among others.

                  这篇关于.net runtime 2.0 而不是最新版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  WPF ListBox not updating with the ItemsSource(WPF ListBox 未使用 ItemsSource 更新)
                  Problem getting list box items added through jquery in code behind(在后面的代码中通过 jquery 添加列表框项目时出现问题)
                  Selected item in list box is null(列表框中的选定项为空)
                  ASP.NET: Listbox datasource and databind(ASP.NET:列表框数据源和数据绑定)
                  .NET 3.5 Listbox Selected Values (Winforms)(.NET 3.5 列表框选定值(Winforms))
                  Why does the WPF listbox change selection on mouse button down rather than button up?(为什么 WPF 列表框在鼠标按下而不是按下按钮时更改选择?)

                  <tfoot id='8smbz'></tfoot>

                    <legend id='8smbz'><style id='8smbz'><dir id='8smbz'><q id='8smbz'></q></dir></style></legend>
                      <tbody id='8smbz'></tbody>
                        • <bdo id='8smbz'></bdo><ul id='8smbz'></ul>
                          <i id='8smbz'><tr id='8smbz'><dt id='8smbz'><q id='8smbz'><span id='8smbz'><b id='8smbz'><form id='8smbz'><ins id='8smbz'></ins><ul id='8smbz'></ul><sub id='8smbz'></sub></form><legend id='8smbz'></legend><bdo id='8smbz'><pre id='8smbz'><center id='8smbz'></center></pre></bdo></b><th id='8smbz'></th></span></q></dt></tr></i><div id='8smbz'><tfoot id='8smbz'></tfoot><dl id='8smbz'><fieldset id='8smbz'></fieldset></dl></div>

                        • <small id='8smbz'></small><noframes id='8smbz'>