Solved

Why is my C# Project runtime version = v2.0.50??? when I have the target framework set to v3.5?

Posted on 2009-07-15
1
482 Views
Last Modified: 2013-11-08
I have a project with the Target framework set to V3.5.  When I build it and look at the resulting dll, the runtime version is set to v2.0.50757.  Shouldnt this be V3.5?
0
Comment
Question by:sclamers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
johnaryan earned 50 total points
ID: 24858773
That's a common misconception.

3.5 is built on top of the 2.0 Framework, although it does use a newer version of the CLR.

When you build a project in VS2008, you select the Framework. If you select 2.0 then the 2.0 CLR will be used (for backward compatibility). On the other hand, if you select 3.5 - the 3.5 CLR will be used but this will use the existing 2.0 framework and the extra 3.5 libraries.

See: http://msdn.microsoft.com/en-us/library/bb822049.aspx

Hope this helps clear up a bit of the confusion.

John
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question