Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to switch frameworks

Posted on 2008-10-06
6
Medium Priority
?
204 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

609 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