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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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!
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now