When linking a .NET 2.0 Managed Assembly from a .NET 4.0 Application, which framework is used?

前端 未结 3 1148
忘掉有多难
忘掉有多难 2020-12-29 04:46

If I have a 2.0 CLR assembly (pure managed code, no mixed mode issues) that I need to link to from a 4.0 CLR Application, does the 2.0 code run on the 2.0 CLR or 4.0.

3条回答
  •  轮回少年
    2020-12-29 05:07

    if the answer from htw did not answer it for you, or it crashes on you. Have a look at this

    http://msmvps.com/blogs/rfennell/archive/2010/03/27/mixed-mode-assembly-is-built-against-version-v2-0-50727-error-using-net-4-development-web-server.aspx

提交回复
热议问题