PC Review


Reply
Thread Tools Rate Thread

ASP.NET 2 to 3.X

 
 
Mike Gleason jr Couturier
Guest
Posts: n/a
 
      18th Jan 2008
Hi!

We're developing websites with VS 2005 (.NET 2.0) and we want to move on to
..NET 3.X (Not the whole team but the R&D team).

Do we absolutely need to upgrade to Visual Studio 2008 to do that? Is that
the same thing going from 1.X to 2.0?

Will we be able to open .NET 2.0 projects from VS 2008 without conversions
and still be able to open the same projets with VS 2005?

Thank you very much


 
Reply With Quote
 
 
 
 
Anthony Jones
Guest
Posts: n/a
 
      18th Jan 2008
"Mike Gleason jr Couturier" <(E-Mail Removed)> wrote in
message news:5884E977-C3DC-4410-9E0C-(E-Mail Removed)...
> Hi!
>
> We're developing websites with VS 2005 (.NET 2.0) and we want to move on

to
> .NET 3.X (Not the whole team but the R&D team).
>
> Do we absolutely need to upgrade to Visual Studio 2008 to do that? Is that
> the same thing going from 1.X to 2.0?
>
> Will we be able to open .NET 2.0 projects from VS 2008 without conversions
> and still be able to open the same projets with VS 2005?
>



VS 2008 maintains the same format for project files as VS2005 so you can use
projects interchangably. The solution files are different though.

However Websites (unless you've downloaded the Web Projects update) aren't
maintained in a project file. It shouldn't be a problem for VS 2008 and
VS2005 to share content from source code control since the contents of the
folders is simply the project.

There isn't much point sharing projects between them if you are targeting
over .NET 2.0 but you will be able to work on current .NET 2.0 code whilst
also researching .NET 3.5 projects using only VS 2008.

If you are using C# you need to be careful what language features you use,
VS 2008 uses the 3.0 compilier which is fine if you're shipping assemblies
(assuming you target .NET 2.0) but if you have app_code or inline code in
pages using C# VS doesn't warn you where you are using 3.0 language
features that aren't available on a server that only has the 2.0 compilier.
I would guess the same condition exists for VB.NET but I don't know.

--
Anthony Jones - MVP ASP/ASP.NET


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:23 AM.