How Do I Switch From Framework 2.0 to 3.5 in VS2008?

Last post 07-12-2009 1:52 PM by VBCoder60. 6 replies.

Sort Posts:

  • How Do I Switch From Framework 2.0 to 3.5 in VS2008?

    07-10-2009, 3:31 PM
    • Member
      1 point Member
    • VBCoder60
    • Member since 07-10-2009, 3:07 PM
    • Posts 13

     I have Microsoft Visual Studio 2008 installed on my machine along with the latest version of Microsoft Windows SDK.  While studying for Exam 70-536 (Framework 2.0) I made a change in my environment so that all projects will be created in Framework 2.0.  I have passed the exam and now I need make the necessary confirguration change so that all new projects defaults to framework 3.5.  Please note that while creating a new project it gives you the option of chosing the which framework to use (2.0, 3.0, 3.5) but it does not matter what option you choose, only framework 2.0 is used.

    For example, I created a new ASP.net website and chose framework 3.5 from the dropdown box when creating the site.  I then started the ASP.NET Configuration tool (Website| ASP.Net Configuration) and enabled tracing.  I then looked at the "trace.axd" page and noticed that 2.0 of the framework was used.  Below is the line in the trace which shows the framework version: 

    Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074

     

    I believe I need make the change within the Microsoft Windows SDK but I don't remember how...I would appreciate help on this.  Also, there two versions of the SDK on my machine, which one should be active so that I am using the latest version?  Should I be using "V6.0A" or "v6.1"?

  • Re: How Do I Switch From Framework 2.0 to 3.5 in VS2008?

    07-10-2009, 5:53 PM
    • Participant
      1,083 point Participant
    • Ahmish
    • Member since 04-02-2007, 8:10 PM
    • Pakistan
    • Posts 299
    "Hope its your Solution so Mark it as Answer"

    Ahmad Sheikh
    Microsoft Valuable Geek :: Freelancer & Consultant
    http://sharpcontents.blogspot.com
  • Re: How Do I Switch From Framework 2.0 to 3.5 in VS2008?

    07-11-2009, 10:52 AM

    Base framework is 2.0. 3.5 adds new assemblies and compronents on top of the updated 2.0 (note 3074 instead of lower number in the original 2.0 framework.

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: How Do I Switch From Framework 2.0 to 3.5 in VS2008?

    07-12-2009, 1:58 AM
    • Member
      1 point Member
    • VBCoder60
    • Member since 07-10-2009, 3:07 PM
    • Posts 13

     Thanks for providing this article but I don't believe that it addresses my issue.  Note in my post that I chose framework 3.5 when I create new projects but it appears that framework 2.0 is the active framework.  My question is, since I am already choosing framework 3.5 when creating new projects what else do I need to do to make sure that I am indeed using 3.5?  I am not sure if the installation of Microsoft Windows SDK is creating this issue.

  • Re: How Do I Switch From Framework 2.0 to 3.5 in VS2008?

    07-12-2009, 2:04 AM
    • Member
      1 point Member
    • VBCoder60
    • Member since 07-10-2009, 3:07 PM
    • Posts 13

    Are you saying that the framework information listed below is accurate even for projects created using fraomework 3.5?  I just want to make sure that all my new projects use the latest version of the framework.  Please see the original post as to how I was able see the information below.  Thanks again for your help.

     

    Microsoft .NET Framework Version:2.0.50727.3074; ASP.NET Version:2.0.50727.3074

  • Re: How Do I Switch From Framework 2.0 to 3.5 in VS2008?

    07-12-2009, 10:36 AM

    It is correct information. In 3.5 project you may notice new assemblies like System.Web.Extensions which do have 3.5 version. However, base components like System.Web are 2.0 (2.0.4918 on my box). You may aso notice that C:\Windows\Microsoft.NET\Framework\v3.5 is much smaller than C:\Windows\Microsoft.NET\Framework\v2.0.50727

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: How Do I Switch From Framework 2.0 to 3.5 in VS2008?

    07-12-2009, 1:52 PM
    Answer
    • Member
      1 point Member
    • VBCoder60
    • Member since 07-10-2009, 3:07 PM
    • Posts 13

     Thanks Mikhail, you have been a big help.  I was concerned that there was something wrong with my environment...now I have the assurance that all is well thanks to your input.

Page 1 of 1 (7 items)