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

B

BillE

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
 
M

Morten Wennevik [C# MVP]

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

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
 
R

Rory Becker

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

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.
 
M

Morten Wennevik [C# MVP]

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.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top