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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:12:10+00:00 2026-05-16T20:12:10+00:00

Have a project compiled to use (TargetFrameworkVersion) framework version 3.0 however it looks like

  • 0

Have a project compiled to use (TargetFrameworkVersion) framework version 3.0 however it looks like there are some bug fixes in the latest v4.0 framework and HF. As we want the app to be available even if it is leaking a bit on the earlier frameworks, we don’t want to just set the target to 4.0.

When you browse the project you can see it has a runtime version but the ‘specific version’ is flagged false.

When we run the app, can we tell what framework parts it is actually using. Will it default to 3.0 or will it use the latest assemblies.
If it defaults to 3.0 is there some way of setting some policy of some sort to use the new assembly if available.

Will compiling against/targeting the 4.0 framework yield any different results on top of using it at runtime?

  • 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-16T20:12:11+00:00Added an answer on May 16, 2026 at 8:12 pm

    When you run a .NET app, it will default to the version of the Framework it was compiled for. You can specify that it can use other Frameworks by including SupportedRuntime elements in the app config file in the Configuration/Startup section. However, I do not think an application can specify that it runs on a later framework than what it’s built for.

    If you want the runtime to try to use v4.0, but if that’s not installed you will still run on v3.5, you should compile the app in 4.0 and include a SupportedRuntime element in the app config with the full version (including build) of v3.5.

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

Sidebar

Related Questions

I have a big project compiled into libProject.so-file (shared library), I made some modules
I have a project in c# which uses bindings to use some c++ code.
I have a C++ 'Control Library Project' compiled using /CLR. Inside this project there
I have an AS3 project making use of compile time constants. This has worked
I have an old c++ project compiled with VC6. I need to statically link
I have a c++ Project that was compiled with the cygwin toolchain, now I
I have this habit always a C++ project is compiled and the release is
We have a big C++ project that's compiled as native unmanaged code. We need
I have a WPF project which compiles just fine. However, when I enable code
I have a program written in c that I compiled (The project structure is

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.