Solved

how to switch frameworks

Posted on 2008-10-06
6
197 Views
Last Modified: 2013-11-08
I am attempting to utilize WPF.  To do so, I need to use at the very least .net framework 3.0.  I have both 2.0, 3.0 and the 3.5 frameworks installed my my local machine.

I began a new project in visual studio 2005.  How do I ensure that either the framework of my choice is being used?  When I go to the references tab, it looks like it is utilizing .net framework 2.0 for all of its code libraries.
0
Comment
Question by:dchau12
  • 3
  • 3
6 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 22653584
this is correct. the core librairies of the .net framework remains version 2.0 (and even with the .Net framework of Visual Studio 2008)
0
 

Author Comment

by:dchau12
ID: 22653743
does the framework automatically default to the latest framework?  Like, .net framework 3.0 is installed on my pc, and that framework is used for vs 2005.  When that version is installed, does it automatically pick it up?
0
 

Author Comment

by:dchau12
ID: 22653913
let me reqord that.  Does visual studio automatically default to the latest framework?
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 70

Expert Comment

by:Éric Moreau
ID: 22653940
there is one thing that you really need to understand: the .net framework 3.0 CANNOT exist/run/live without the .net framework 2.0.

the .net framework 2.0 is the core while the .net framework 3.0 are some extensions to the core (WCF, WPF, WF, Cardspace).

VS2005 always use the .net framework 2.0 and if you add one of the 4 extensions, it will add the required dlls (that are 3.0) to the references but you will always keep the 2.0 core files.

This is also true for the .net framework 3.5. The core files are still .net framework 2.0.
0
 

Author Comment

by:dchau12
ID: 22654029
ok.... awesome... now I am really getting to what I need.

I have the 3.0 framework installed, and I want to use the WPF extension.  But, I do not believe that vs2005 is using the 3.0 framework because when I start a new project, WPF is not included in the list of project templates.  How do I get it in there?

0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 22654172
if you are serious about WPF, you should really switch to 3.5 (VS2008) as it was greatly enhanced.

I think you can still can the DLLs from http://www.microsoft.com/downloads/details.aspx?FamilyID=10CC340B-F857-4A14-83F5-25634C3BF043&displaylang=en
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

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

773 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