Need to DownGrade to ASP .NET 3.0 in Visual Studio 2008

Hello,

I am developing my own .aspx pages using Visual Studio 2008.  Much to my chagrin, these will not work on my web-host because they do not support .NET 3.5 on their Windows Server.  

They do; however, support .NET 3.0  (at least so they say).  

What is the easiest way in Visual Studio 2008 to change an existing project (which apparently defaults to .NET 3.5 )  to use the .NET 3.0 framework instead?  

(What are the main differences or gotchyas between 3.0 and 3.5 ?? )

LindyGeekAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dirk HaestProject managerCommented:
NET framework 3.0:

This framework is the key for developing application under Vista.
It is just a set of assembly which use XML to map:

Communication (WCF)
View (WPF)
Workflow (WWF)
Digital identity (CardSpace)
The framework is still the .NET framework2.0 behind it.
For a lot of developer this is not a real framework.

.NET framework 3.5:

It implement Linq evolution in language. So we have the folowing evolution in class:

Linq for SQL, XML, Dataset, Object
Addin system
p2p base class
Active directory
ASP.NET Ajax
0
Dirk HaestProject managerCommented:
.Net 3.0  = .net 2.0 features + WF+WPF+WCF+ Cardspace

.Net 3.5 = .Net 3.0 features + LINQ, ASP.NET AJAX, new controls, richer WCF support, and a few other features that aren't in .NET 3.0. http://weblogs.asp.net/scottgu/archive/2007/06/20/vs-2008-multi-targeting-support.aspx

Also u can refer the link for more info http://support.microsoft.com/?id=929300
0
LindyGeekAuthor Commented:
Thanks for the description.  Very Helpful to this newbie.  

Can you (or someone else) walk me through what I need to do from the Visual Studio 2008 Environment in order to make it so when I upload my files to my website provider, the website will use .NET 3.0 ?  

I ask this because currently it won't even run it.  

I get:  

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Child nodes not allowed.

Source Error:


Line 78:             <compilers>
Line 79:                   <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Line 80:                         <providerOption name="CompilerVersion" value="v3.5"/>
Line 81:                         <providerOption name="WarnAsError" value="false"/>
Line 82:                   </compiler>

Source File: \\nawinfs05\home\users\web\b446\ipw.integralnest\web.config    Line: 80

Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832
0
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

LindyGeekAuthor Commented:
I am told this happens because I have .NET 3.5 set up (the Visual Studio 2008 default) and I need to make it .NET 3.0.  I do not know how to do this from Visual Studio.

Thank You.  
0
LindyGeekAuthor Commented:
I am looking for Step-By-Step instruction for Dummies in Visual Studio 2008.  
like ...

"In order to take a project from .NET 3.5 to .NET 3.0 ...

-"  Go to menu / file "X"
- Go to the "Y" Tab
- Select "B" and
- type in "joebama"
- fix any compilation errors that occur from the transfer

Much Appreciation.  

0
luggage66Commented:
According to MSDN and the error you are getting, you can't have any child elements in the <compiler> tag.

http://msdn.microsoft.com/en-us/library/a15ebt6c.aspx

It's valid in a DIFFERENT <compiler> tag (yea, confusing) according to: http://msdn.microsoft.com/en-us/library/bb397730.aspx

See if that helps.

Also, right click your web project and select properties. On this screen there will be a "Target Framework" property. You can set that to 3.0.  Note that 3.0 runs on the 2.0 CLR, so in the IIS setup, it'll just be "2.0".

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.