DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Tue, 14 Aug 2007 10:56:19 -0400,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    BillE
          2    Morten Wennevik [C# MVP]
                 3    Rory Becker am
                 4    Morten Wennevik [C# MVP]
          5    PvdG42


changing .NET framework version in VS 2005 (supported runtimes)   
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
Date:Tue, 14 Aug 2007 10:56:19 -0400   Author:  

Re: changing .NET framework version in VS 2005 (supported runtimes)   
On Tue, 14 Aug 2007 16:56:19 +0200, BillE  wrote:


> 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

-- 
Happy coding!
Morten Wennevik [C# MVP]
Date:Tue, 14 Aug 2007 17:06:04 +0200   Author:  

Re: changing .NET framework version in VS 2005 (supported runtimes)   
"BillE"  wrote in message 
news:OvF1INo3HHA.1188@TK2MSFTNGP04.phx.gbl...

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


This is the only possibility, AFAIK.

http://msdn2.microsoft.com/en-us/vstudio/aa718347.aspx
Date:Tue, 14 Aug 2007 10:13:29 -0500   Author:  

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

> On Tue, 14 Aug 2007 16:56:19 +0200, BillE  wrote:
> 
>> 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
> 


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
Date:Tue, 14 Aug 2007 15:18:14 +0000 (UTC)   Author:  

Re: changing .NET framework version in VS 2005 (supported runtimes)   
On Tue, 14 Aug 2007 17:18:14 +0200, Rory Becker <RoryBecker@newsgroup.nospam> wrote:


>> On Tue, 14 Aug 2007 16:56:19 +0200, BillE  wrote:
>>
>>> 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
>>
>
> 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
>
>
>


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.

-- 
Happy coding!
Morten Wennevik [C# MVP]
Date:Tue, 14 Aug 2007 17:56:52 +0200   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us