Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Downgrade framework 1

Status
Not open for further replies.

BasicBoy

Programmer
Feb 22, 2008
156
ZA
I have developed my website in ASP.NET framework 4.0
I now find out that my hosting service can only handle up to version 3.5
How can I downgrade my website.

Thanks
 
I believe you can change the target framework in the web.config. You'll have to do some searching on line to find the setting.
 
select the project in the solution explorer.
hit <alt>+<enter>
a new tab will open in the main section.
within this tab there is a set of vertical tabs.
select either application or build or target... something like that.
there will be a drop down to select which framework to target.
it's currently set to 4.0
select 3.5
save
close
fix compile errors (will occur if you are using 4.0 features)
rebuild solution
test
deploy

you may also need to tweak the web.config file. VS should cover most of config changes for you, but i've never needed to downgrade, only upgrade.

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top