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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:46:35+00:00 2026-05-11T03:46:35+00:00

Can someone please confirm to me that when my application is written in .NET

  • 0

Can someone please confirm to me that when my application is written in .NET 3.5 that this code

System.Environment.Version.Major.ToString() 

will produce this

2.0.50727.1433 

I’m just moving to 3.5 and the first application I’m moving is an internal website. I thought a really easy indicator that it’s working would be to add the Framework version next to my Application version but the above text is what is being produced.

My limited research suggests that .NET 3.5 is a ‘flavour’ of 2.0 and so the underlying framework version will continue to be 2.0. The IIS application pool settings suggest this is the case.

Is this correct or can I get my application to show 3.5?

Cheers

  • 1 1 Answer
  • 1 View
  • 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. 2026-05-11T03:46:35+00:00Added an answer on May 11, 2026 at 3:46 am

    Because .NET 3.5 uses CLR runtime version 2. 3.5 is just a set of assemblies built on top of the 2.0 runtime. The internal APIs cannot tell the difference. Here is some code that will tell you whether 3.5 is present:

    http://blogs.msdn.com/astebner/archive/2007/11/29/6608419.aspx

    Note this will not tell you whether your code is actually running against 3.5, but you should be taking care of that in your manifest anyway.

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

Sidebar

Related Questions

Can someone please tell me what this means: 07-04 09:54:38.048: I/DetailActivity(15496): Title that is
Can someone please confirm that the following is a bug with PHP 5.2.13: (thank
Can someone please confirm that all Kanji characters in Chinese are 3 bytes long
Can someone please explain to me how this responsive approach works? This was done
Please can someone help me. Basically I am using vb.net. All I am doing
Can someone please confirm whether I am right about event aggregation in PRISM 4?
Can someone please point me to articles or books that discusses different programming paradigm
can someone please confirm/correct me, with my understanding of using POCO's with the Entity
Can someone please help? Here is my jQuery. The scenario is this, I have
Can someone please explain why ?___SID=U is appearing in some Magento URLs on my

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.