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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 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

11 Experts available now in Live!

Get 1:1 Help Now