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 4627302
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:32:54+00:00 2026-05-22T03:32:54+00:00

Will a windows application developed in .net 4 which references an assembly developed in

  • 0

Will a windows application developed in .net 4 which references an assembly developed in .net 3.5, require both .net 4 and .net 3.5 to be installed for the application to run?

I suspect so, as is one of my observation. Also, it feels logical as both require different runtime for their execution.

[EDIT]
I’m enlightened 🙂 So, here’s my real question which has remained unanswered for a while here at SO. Would be glad if you guys can figure out the issue!

The application’s app.config already has the following lines.

  <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
  • 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-22T03:32:55+00:00Added an answer on May 22, 2026 at 3:32 am

    Im not sure you need to have 3.5 installed.. The .net 4.0 CLR is able to load assemblies written in .net 2.0 and up, and it seems unlikely that they’d be running diffrent versions of the CLR since .net4 and 2.0 assemblies can call each other without any interop.

    What i do know is that if your executable is a .net 4.0 assembly, you might have to modify your app.config for it to load .net 2.0 assemblies in some cases. This is because the security model changed from CAS in .net 2.0 to a simplified system in 4.0

    This to me would seem like further indication that the .net 2.0 clr is in fact not used when loading a .net 2.0 assembly into a .net 4.0 process.

    (.net 2.0 and 4.0 referes to the common language runtime version, 2.0, 3.0 and 3.5 all use the 2.0 version of the CLR)

    -edit-

    According to this thread, .net 3.5 should not be needed to load a 3.5 assembly if the process is 4.0.

    -edit2-

    Here is how you’d modify your app.config to let a .net 4.0 executable load 2.0 assemblies in all scenarios (such as running of a network drive)

    <configuration>
      <startup useLegacyV2RuntimeActivationPolicy="true">
        <supportedRuntime version="v4.0"/>
      </startup>
    </configuration>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a .NET MVC application which will be deployed on a Windows 2003
I am planning to develop a windows application in .net which will act like
I am creating a windows application using VB.Net and this application will take a
Always when I run java application it will display in Windows Task Manager is
I have a WPF application that will always run on windows 7, it opens
I'm currently designing an application which I will ultimately want to move to Windows
I'm planning a project which will consist of a Windows Server Application programmed in
I created a windows application developed in .NET 3.5 in a 32 bit Windows
I'm working on a .NET Windows application that will use Process.Start to launch another
I need to develop own .NET off-line application which will just open a web

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.