473,327 Members | 2,025 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

How change framework

How do I change an application to target the .NET 2.0 framework, NOT the
..NET 3 framework?

I'm creating a winform app, but I would think it's the same method.

The option to change doesn't show up in the properties page of my project.
Jun 27 '08 #1
7 1564
In VS 2008, you can change the framework in the properties page.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
"Cirene" <ci****@nowhere.comwrote in message
news:eS**************@TK2MSFTNGP04.phx.gbl...
How do I change an application to target the .NET 2.0 framework, NOT the
.NET 3 framework?

I'm creating a winform app, but I would think it's the same method.

The option to change doesn't show up in the properties page of my project.

Jun 27 '08 #2
Which property page have you tried ?

If C## this is in the Application tab. If VB.NET click "Advanced compiled
options" in the "Compile" tab.
__
Patrice

"Cirene" <ci****@nowhere.coma écrit dans le message de groupe de
discussion : eS**************@TK2MSFTNGP04.phx.gbl...
How do I change an application to target the .NET 2.0 framework, NOT the
.NET 3 framework?

I'm creating a winform app, but I would think it's the same method.

The option to change doesn't show up in the properties page of my project.
Jun 27 '08 #3
re:
!How do I change an application to target the .NET 2.0 framework, NOT the .NET 3 framework?

For Visual Basic WinForms projects, click the Compile tab and then click Advanced Compile Options.
The Target Framework list is in the Advanced Compiler Settings Dialog Box.

Open your project, right-click your project's name in the Solution Explorer;
select "Properties" from the context menu; select "Compile" from the left-hand list;
scroll down to the "Advanced Compile Options" button and click it;
select the "Target Framework (all configurations) dropdown and
select the target framework you want ( 2.0, 3.0 or 3.5 ).

You will be prompted to close and reopen the project.
When it reopens automatically, the change will have been effected.

For Visual C# WinForms projects, the Target Framework list is on the Application tab of the Project Designer.

Open your project, right-click your project's name in the Solution Explorer;
select "Properties" from the context menu; select "Application" from the left-hand list;
select the "Target Framework (all configurations) dropdown and
select the target framework you want ( 2.0, 3.0 or 3.5 ).

re:
!I'm creating a winform app, but I would think it's the same method.

It's not.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Cirene" <ci****@nowhere.comwrote in message news:eS**************@TK2MSFTNGP04.phx.gbl...
How do I change an application to target the .NET 2.0 framework, NOT the .NET 3 framework?
I'm creating a winform app, but I would think it's the same method.
The option to change doesn't show up in the properties page of my project.


Jun 27 '08 #4
Thanks yall!
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OP**************@TK2MSFTNGP02.phx.gbl...
re:
!How do I change an application to target the .NET 2.0 framework, NOT
the .NET 3 framework?

For Visual Basic WinForms projects, click the Compile tab and then click
Advanced Compile Options.
The Target Framework list is in the Advanced Compiler Settings Dialog Box.

Open your project, right-click your project's name in the Solution
Explorer;
select "Properties" from the context menu; select "Compile" from the
left-hand list;
scroll down to the "Advanced Compile Options" button and click it;
select the "Target Framework (all configurations) dropdown and
select the target framework you want ( 2.0, 3.0 or 3.5 ).

You will be prompted to close and reopen the project.
When it reopens automatically, the change will have been effected.

For Visual C# WinForms projects, the Target Framework list is on the
Application tab of the Project Designer.

Open your project, right-click your project's name in the Solution
Explorer;
select "Properties" from the context menu; select "Application" from the
left-hand list;
select the "Target Framework (all configurations) dropdown and
select the target framework you want ( 2.0, 3.0 or 3.5 ).

re:
!I'm creating a winform app, but I would think it's the same method.

It's not.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Cirene" <ci****@nowhere.comwrote in message
news:eS**************@TK2MSFTNGP04.phx.gbl...
>How do I change an application to target the .NET 2.0 framework, NOT the
.NET 3 framework?
>I'm creating a winform app, but I would think it's the same method.
>The option to change doesn't show up in the properties page of my
project.



Jun 27 '08 #5
Why is it that I target the 2.0 framework yet when my client is installing
the WinForm app it's trying to install the 3.5 framework (the version it
used to be)?

I've verified the Adv Compiler Settings. They are set to 2.0.

Thanks.

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OP**************@TK2MSFTNGP02.phx.gbl...
re:
!How do I change an application to target the .NET 2.0 framework, NOT
the .NET 3 framework?

For Visual Basic WinForms projects, click the Compile tab and then click
Advanced Compile Options.
The Target Framework list is in the Advanced Compiler Settings Dialog Box.

Open your project, right-click your project's name in the Solution
Explorer;
select "Properties" from the context menu; select "Compile" from the
left-hand list;
scroll down to the "Advanced Compile Options" button and click it;
select the "Target Framework (all configurations) dropdown and
select the target framework you want ( 2.0, 3.0 or 3.5 ).

You will be prompted to close and reopen the project.
When it reopens automatically, the change will have been effected.

For Visual C# WinForms projects, the Target Framework list is on the
Application tab of the Project Designer.

Open your project, right-click your project's name in the Solution
Explorer;
select "Properties" from the context menu; select "Application" from the
left-hand list;
select the "Target Framework (all configurations) dropdown and
select the target framework you want ( 2.0, 3.0 or 3.5 ).

re:
!I'm creating a winform app, but I would think it's the same method.

It's not.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Cirene" <ci****@nowhere.comwrote in message
news:eS**************@TK2MSFTNGP04.phx.gbl...
>How do I change an application to target the .NET 2.0 framework, NOT the
.NET 3 framework?
>I'm creating a winform app, but I would think it's the same method.
>The option to change doesn't show up in the properties page of my
project.



Jun 27 '08 #6
re:
!Why is it that I target the 2.0 framework yet when my client is installing
!the WinForm app it's trying to install the 3.5 framework (the version it used to be)?

Do you still have any references to 3.5 assemblies ?

For example :

using System.Linq;

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Cirene" <ci****@nowhere.comwrote in message news:ue**************@TK2MSFTNGP04.phx.gbl...
Why is it that I target the 2.0 framework yet when my client is installing the WinForm app it's trying to install the
3.5 framework (the version it used to be)?

I've verified the Adv Compiler Settings. They are set to 2.0.

Thanks.

"Juan T. Llibre" <no***********@nowhere.comwrote in message news:OP**************@TK2MSFTNGP02.phx.gbl...
>re:
!How do I change an application to target the .NET 2.0 framework, NOT the .NET 3 framework?

For Visual Basic WinForms projects, click the Compile tab and then click Advanced Compile Options.
The Target Framework list is in the Advanced Compiler Settings Dialog Box.

Open your project, right-click your project's name in the Solution Explorer;
select "Properties" from the context menu; select "Compile" from the left-hand list;
scroll down to the "Advanced Compile Options" button and click it;
select the "Target Framework (all configurations) dropdown and
select the target framework you want ( 2.0, 3.0 or 3.5 ).

You will be prompted to close and reopen the project.
When it reopens automatically, the change will have been effected.

For Visual C# WinForms projects, the Target Framework list is on the Application tab of the Project Designer.

Open your project, right-click your project's name in the Solution Explorer;
select "Properties" from the context menu; select "Application" from the left-hand list;
select the "Target Framework (all configurations) dropdown and
select the target framework you want ( 2.0, 3.0 or 3.5 ).

re:
!I'm creating a winform app, but I would think it's the same method.

It's not.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Cirene" <ci****@nowhere.comwrote in message news:eS**************@TK2MSFTNGP04.phx.gbl...
>>How do I change an application to target the .NET 2.0 framework, NOT the .NET 3 framework?
>>I'm creating a winform app, but I would think it's the same method.
>>The option to change doesn't show up in the properties page of my project.




Jun 27 '08 #7
Thanks Juan. There was another option that I had to uncheck in the
properties of the project. :)

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OZ**************@TK2MSFTNGP03.phx.gbl...
re:
!Why is it that I target the 2.0 framework yet when my client is
installing
!the WinForm app it's trying to install the 3.5 framework (the version
it used to be)?

Do you still have any references to 3.5 assemblies ?

For example :

using System.Linq;

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Cirene" <ci****@nowhere.comwrote in message
news:ue**************@TK2MSFTNGP04.phx.gbl...
>Why is it that I target the 2.0 framework yet when my client is
installing the WinForm app it's trying to install the 3.5 framework (the
version it used to be)?

I've verified the Adv Compiler Settings. They are set to 2.0.

Thanks.

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:OP**************@TK2MSFTNGP02.phx.gbl...
>>re:
!How do I change an application to target the .NET 2.0 framework, NOT
the .NET 3 framework?

For Visual Basic WinForms projects, click the Compile tab and then click
Advanced Compile Options.
The Target Framework list is in the Advanced Compiler Settings Dialog
Box.

Open your project, right-click your project's name in the Solution
Explorer;
select "Properties" from the context menu; select "Compile" from the
left-hand list;
scroll down to the "Advanced Compile Options" button and click it;
select the "Target Framework (all configurations) dropdown and
select the target framework you want ( 2.0, 3.0 or 3.5 ).

You will be prompted to close and reopen the project.
When it reopens automatically, the change will have been effected.

For Visual C# WinForms projects, the Target Framework list is on the
Application tab of the Project Designer.

Open your project, right-click your project's name in the Solution
Explorer;
select "Properties" from the context menu; select "Application" from the
left-hand list;
select the "Target Framework (all configurations) dropdown and
select the target framework you want ( 2.0, 3.0 or 3.5 ).

re:
!I'm creating a winform app, but I would think it's the same method.

It's not.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Cirene" <ci****@nowhere.comwrote in message
news:eS**************@TK2MSFTNGP04.phx.gbl...
How do I change an application to target the .NET 2.0 framework, NOT
the .NET 3 framework?

I'm creating a winform app, but I would think it's the same method.

The option to change doesn't show up in the properties page of my
project.



Jun 27 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jeremy | last post by:
Hi there, We recently upgraded to the 1.1 framework, and of course, all of our 1.0 asp.net apps starting using the 1.1 framework, which we didn't want to happen. I found an MS article saying...
5
by: manokumar | last post by:
hiye, i notice that some if not all of my folders in winxp pro. are set as read only and its giving me some problem with development. so as the natural thing, i unchecked the read only option and...
1
by: gan | last post by:
I created a ASP.NET web setup project with the project name "Setup". I noticed that this name will be used as the default Virtual Directory name during deployment. I'd like to know whether we...
2
by: | last post by:
While I was learning about baking cookies in ASP.NET, I also ran across this interesting article that outlined a few bombs to watch out for when using cookies in ASP.NET: ...
2
by: Joel D Kraft | last post by:
I'm using controls in my ASP.NET application from a couple of vendors. Between the vendors and thier versioning, I've set up subfolders under my bin directory: bin bin\Infragistics\v5.2...
1
by: Mirek Endys | last post by:
Hi all, I thought, that this is an usual thing, but Im wrong. I have a DataList control and there is a Label control. I need to change the Text propertz of the Label control. How to do it....
5
by: joeblast | last post by:
I have a Web service that gets the financial periods and hold a reference to a disconnected dataset built at initialization. Web methods work on the dataset inside the web service. Everything is...
2
by: Kent | last post by:
I cannot find any methods to change the username of a MembershipUser. I know I could just go hit the database and write my own method but this seems like a feature that should be included.
4
by: andreas.w.h.k. :-\) | last post by:
How do I change the address location in the wsdl <wsdl:port name="SearchSoap12" binding="tns:SearchSoap12"> <soap12:address location="http://searchservices/engine/search.asmx" /> </wsdl:port> ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.