473,387 Members | 1,398 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,387 software developers and data experts.

Downgrading target framework - 3.5 to 2.0

Hi there,

I've started off a new web site project in VS 2008 and inadvertently left
the target framework as 3.5, when I really meant to base it 2.0.

I've looked at the project properties page and changed the Build / Target
Framework to 2.0 but I notice that References (also in web.config) still
have 3.5 references such as LINQ.

Can you change a project target framework half way through or can it only be
set at the beginning (note - none of the code behind uses 3.5 namespaces)?

Thanks in advance.

John
Jan 15 '08 #1
2 7603
Just remove the references and using statements. For references, expand the
References node in Solution Explorer, highlight the offender, hit the DEL key.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
"John" wrote:
Hi there,

I've started off a new web site project in VS 2008 and inadvertently left
the target framework as 3.5, when I really meant to base it 2.0.

I've looked at the project properties page and changed the Build / Target
Framework to 2.0 but I notice that References (also in web.config) still
have 3.5 references such as LINQ.

Can you change a project target framework half way through or can it only be
set at the beginning (note - none of the code behind uses 3.5 namespaces)?

Thanks in advance.

John
Jan 15 '08 #2
Great. Thanks very much Peter.

Best regards

John

"Peter Bromberg [C# MVP]" <pb*******@yahoo.NoSpamMaam.comwrote in message
news:51**********************************@microsof t.com...
Just remove the references and using statements. For references, expand
the
References node in Solution Explorer, highlight the offender, hit the DEL
key.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
"John" wrote:
>Hi there,

I've started off a new web site project in VS 2008 and inadvertently left
the target framework as 3.5, when I really meant to base it 2.0.

I've looked at the project properties page and changed the Build / Target
Framework to 2.0 but I notice that References (also in web.config) still
have 3.5 references such as LINQ.

Can you change a project target framework half way through or can it only
be
set at the beginning (note - none of the code behind uses 3.5
namespaces)?

Thanks in advance.

John

Jan 15 '08 #3

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

Similar topics

3
by: Don Freeman | last post by:
The situation I find myself in right now is that my home (read: development) machine has PHP5 installed but my target machine (read: production) only has version 4 installed. This has caused a...
1
by: Kenneth Osenbroch | last post by:
Hi there. I have updated (patched) a 7.3.4.0.1 installation to 7.3.4.5.0, and would like to know if I can use the databases (which has been running on the updated installation for a while) if I...
0
by: skidvd | last post by:
Hello: I'm wondering if there are procedures anywhere for DOWNgrading a MySQL database to a more stable version. I'v recently upgraded to 4.1.3-beta and was hoping to roll back to 4.0.20...
6
by: Plumer | last post by:
Good morning everyone, I am having difficulty distributing a Release version of an application. System info C# DOTNET, MDE 2002, Version 7.0.9466 .Net Framework, version 1.0.3705 My...
22
by: larry | last post by:
I was just looking at a demo training that mindleaders has on .net training: http://www.mindleaders.com/products/democourse3.asp And I don't believe this is correct or at least is misleading...
6
by: Matt Adams | last post by:
Hello: I have an awkward situation where I must downgrade from 7.4 to 7.1. I have two databases already in 7.4. I'm largely ignorant concerning postgresql: am I going to have any severe...
2
by: Kenneth Jonsson | last post by:
I have an COM server in an assembly. When it is deployed on a target computer it needs to be registred with RegAsm. I created a custom action in the deploy project, starting RegAsm with the...
9
by: anonymous | last post by:
Hello all, I have a C# application written using Visual C# 2005 Express. I believe it uses some of the .Net 2 controls and so on. I want to run this application on Linux using mono 1.2...
5
by: zacks | last post by:
I am working on an application in VS2008. I have set the target framework to 2.0. I distributed the app to a coworker in MSI format. When he tried to install it, he was told that he needed to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.