Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / March 2008

Tip: Looking for answers? Try searching our database.

Operating with multiple framework versions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
michael sorens - 24 Mar 2008 22:56 GMT
In getting up to speed with VS2008, I saw one obscure reference that
indicated one could build for .NET 2.0, 3.0, or 3.5 at one's discretion.
Could someone point me to documentation on this? I have a few concerns I wish
to learn about, including:
--What happens if I bring my VS2005/.NET 2.0 project into VS2008? I assume
it is migrated and can then no longer be opened in VS2005, but does it remain
a .NET 2.0 constituent?
--If I create a new project in VS2008 is it always a .NET 3.5 constituent or
can I force it to be .NET 2.0 so my existing user base can still run it?
--How do I identify what framework version is being used for any given
project?
--How could I change the framework version for a project if, for example, I
want to move a project from 2.0 to 3.5?
Steven Cheng - 25 Mar 2008 04:17 GMT
Hi Michael,

For the multiple framework version you mentioned, it is called
"multi-targetting" feature in Visual Studio 2008. Here are some good
reference introducing it:

#VS 2008 Multi-Targeting Support
http://weblogs.asp.net/scottgu/archive/2007/06/20/vs-2008-multi-targeting-su
pport.aspx

#Multitargeting in Visual Studio 2008
http://channel9.msdn.com/ShowPost.aspx?PostID=333938

Also, my understanding is VS 2008 can help you develop .net application
that is targeting all the framework available below:

.NET 2.0
.NET 3.0
.NET 3.5

If you convert a vs 2005 project in VS 2008, I think it will convert it to
target .NET 2.0 also.  And most of the convert processing is specific to
IDE's settings. Sure, after converting,  you'll not be able to open it via
vs 2005 again.  

Have you already got VS 2008 at hand? If not, I suggest you download the
pro version from subscriber download site or the Trial version and perform
some test so that you can get a more clear experience on it.

#Try Visual Studio 2008
http://msdn2.microsoft.com/en-us/vstudio/products/aa700831.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= <m_j_sorens@newsgroup.nospam>
>Subject: Operating with multiple framework versions
>Date: Mon, 24 Mar 2008 14:56:02 -0700

>In getting up to speed with VS2008, I saw one obscure reference that
>indicated one could build for .NET 2.0, 3.0, or 3.5 at one's discretion.
[quoted text clipped - 9 lines]
>--How could I change the framework version for a project if, for example, I
>want to move a project from 2.0 to 3.5?
michael sorens - 25 Mar 2008 19:19 GMT
Thank you for the pertinent references. I found both of them extremely
helpful. Not only does Scott Guthrie address all my questions and show how
simple it is, Daniel Moth shows that you can actually use some of the new
features of C# 3.0 in 2.0 projects--very neat!
Steven Cheng - 26 Mar 2008 01:59 GMT
You're welcome Michael,

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
>From: =?Utf-8?B?bWljaGFlbCBzb3JlbnM=?= <m_j_sorens@newsgroup.nospam>
>References:  <477A3F46-12BD-4BDF-A286-D80F497E82C3@microsoft.com>
<d7eKZbijIHA.360@TK2MSFTNGHUB02.phx.gbl>
>Subject: RE: Operating with multiple framework versions
>Date: Tue, 25 Mar 2008 11:19:03 -0700

>Thank you for the pertinent references. I found both of them extremely
>helpful. Not only does Scott Guthrie address all my questions and show how
>simple it is, Daniel Moth shows that you can actually use some of the new
>features of C# 3.0 in 2.0 projects--very neat!

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.