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
481 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

791 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