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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T00:27:20+00:00 2026-05-18T00:27:20+00:00

In .Net 4 there is improved Garbage Collection which is important for our systems.

  • 0

In .Net 4 there is improved Garbage Collection which is important for our systems.

If I have a .Net 4 Winforms project that references .Net 2/.Net3.5 class libraries what version of .Net is used for Garbage Collection?

I am keen to get the .Net 4 GC working and so if the project files (*.csproj) files have to be changed to use .Net 4 for the .Net 4 GC to kick in, so be it.

Thanks

  • 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-18T00:27:21+00:00Added an answer on May 18, 2026 at 12:27 am

    The GC used will be the CLR running. If you are using .net 4 CLR for your executable then the 2.0 objects will run in the 4.0 CLR, unless they run out of process.

    If you have an .exe that is built for CLR2 then it will still use CLR2 by default. To force a .net 2.0 CLR exe to run on the CLR 4.0 use the following in the config file.

    <configuration>
    
      <startup>
    
        <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 have a scenario. (Windows Forms, C#, .NET) There is a main form which
We have an ASP.Net Web Application that is running in an IIS Web-Garden--which is
In .NET there are two version numbers available when building a project, File Version
I am aware that in .NET there are three timer types (see Comparing the
In .NET is there a function that tests if a string is syntactically a
in .NET is there a function that returns the root letter (the letter without
Using ASP.NET MVC there are situations (such as form submission) that may require a
We have a mixture of .Net apps that connect through ODBC and DB2 Connect
I am currently working in a .Net project but from university I have also
I think there are not many people who don't think that ASP.NET MVC 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.