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 / .NET Framework / New Users / August 2007

Tip: Looking for answers? Try searching our database.

changing .NET framework version in VS 2005 (supported runtimes)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BillE - 14 Aug 2007 15:56 GMT
In VS2003, Windows Application Property Pages I could go to Common
Properties, Build, Supported Runtimes Change and select version 1.0 or 1.1.

How can I do this in VS2005 so a VB windows application will target
framework 1.1 for example?

Thanks
Bill
Morten Wennevik [C# MVP] - 14 Aug 2007 16:06 GMT
> In VS2003, Windows Application Property Pages I could go to Common
> Properties, Build, Supported Runtimes Change and select version 1.0 or 1.1.
[quoted text clipped - 4 lines]
> Thanks
> Bill

Hi Bill,

You can't.  VS 2005 is .Net 2.0 only.  VS 2008 will support building in .Net 2.0, 3.0 and 3.5, although as far as I know, intellisense will reflect .Net 3.5

Signature

Happy coding!
Morten Wennevik [C# MVP]

Rory Becker - 14 Aug 2007 16:18 GMT
>> In VS2003, Windows Application Property Pages I could go to Common
>> Properties, Build, Supported Runtimes Change and select version 1.0
[quoted text clipped - 10 lines]
> in .Net 2.0, 3.0 and 3.5, although as far as I know, intellisense will
> reflect .Net 3.5

I thought I heard it said (although I haven't tried this to confirm) that
intellisense will change depending on the version of the framework targetted,
I think this means they will grey stuff out if you can't use it.

--
Rory
Morten Wennevik [C# MVP] - 14 Aug 2007 16:56 GMT
>>> In VS2003, Windows Application Property Pages I could go to Common
>>> Properties, Build, Supported Runtimes Change and select version 1.0
[quoted text clipped - 17 lines]
> --
> Rory

It's been a while since I heard this from the C# team, but Beta2 does indeed display c# 3 specific keywords when the project is set to target .Net 2.0 but in intellisense and with keyword colors, so it doesn't appear intellisense will adjust to the targetted framework.

Signature

Happy coding!
Morten Wennevik [C# MVP]

PvdG42 - 14 Aug 2007 16:13 GMT
> In VS2003, Windows Application Property Pages I could go to Common
> Properties, Build, Supported Runtimes Change and select version 1.0 or
[quoted text clipped - 5 lines]
> Thanks
> Bill

This is the only possibility, AFAIK.

http://msdn2.microsoft.com/en-us/vstudio/aa718347.aspx

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.