?
Solved

how to switch frameworks

Posted on 2008-10-06
6
Medium Priority
?
201 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

801 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