Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5972401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:39:09+00:00 2026-05-22T20:39:09+00:00

Lets imagine that we have two assemblies: Foo.Logic (compiled on .NET 2.0 framework) Foo.Application

  • 0

Lets imagine that we have two assemblies:

  1. Foo.Logic (compiled on .NET 2.0 framework)
  2. Foo.Application (compiled on .NET 4.0 framework) that have reference and uses compiled Foo.Logic.

Does it have impact on Foo.Application performance (or have any other drawbacks)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:39:10+00:00Added an answer on May 22, 2026 at 8:39 pm

    In the situation you described in the question, everything will Just Work™ without any problems.

    A .NET 4.0 application will load a .NET 2.0 library directly into the .NET 4.0 runtime environment. It will not use side-by-side execution unless you explicitly ask it to. There’s a lot of misinformation or unclear statements made about this around the web, so be careful in evaluating what you read.

    I finally came across this article, which confirms what Jon Skeet says in his answer. In particular, the article explains (emphasis added):

    In-Proc SxS does not solve the compatibility problems faced by library developers. Any libraries directly loaded by an application–either via a direct reference or an Assembly.Load–will continue to load directly into the runtime and AppDomain of the application loading it. This means that if an application is recompiled to run against the .NET Framework 4 runtime and still has dependent assemblies built against .NET 2.0, those dependents will load on the .NET 4 runtime as well. Therefore, we still recommend testing your libraries against all version[s] of the framework you wish to support. This is one of the reasons we have continued to maintain our high level of backward compatibility.

    But if you’re interested in even more of the nitty-gritty details, it’s worth mentioning that one of the new features introduced with version 4.0 of the CLR is the ability to run multiple versions of the runtime at the same time from in a single process. This is called “In Process Side-by-Side Execution” (or “Inproc SxS” if you’re very cool), and is a very powerful tool. You can read more about it here on the CLR team’s blog.

    Here are some pretty pictures for demonstration purposes:

    Note the “layer-cake” model that was used to build the .NET 3.0 and 3.5 releases on top of .NET 2.0. That means that they’ll all run side-by-side without any problems. But the isolation of the other versions will create a problem.

    However, as mentioned above, .NET 4.0 solves this problem with Side-by-Side Execution:

    Of course, this is mostly applicable to situations involving COM and interop with external applications like Outlook, but it’s still a very cool feature.

    But either way, you shouldn’t see any problems whatsoever with this approach, either with compatibility, performance, or whatever else.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's imagine that we have two arrays: $array_1 = array( '0' => 'zero', '1'
ok im a newbie on sessions lets imagine that we have a little login
Let's imagine that we have privacy options page in social network; two group of
Lets imagine my situation (it's fake, of course)... I have web-site that have 1000
Let's imagine that I have list of files at host1 find /path/to -name *.jpg
Is it normal to modify setter arguments? Let's imagine that we have setString method.
Lets imagine I have the same database schema as here: http://www.databaseanswers.org/data_models/driving_school/index.htm If a customer
Let's imagine I already have a project building .NET 3.5 assembly. Now I want
Let's imagine we have two models: Teams: Id, Name Player: Id, Name, TeamId I
I have a pretty basic question that I imagine would require a join to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.