Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert Web.config from .NET 2.0 to 3.5

What is the minimum I need to add to a .NET 2.0 WebSite's web.config to make it .NET 3.5?

Visual Studio adds all the config sections and script handlers, but if you aren't using those are they are really necessary?

Is there a command line tool to "upgrade" a .NET 2.0 web.config to 3.5?

like image 659
user2580 Avatar asked Aug 29 '08 04:08

user2580


2 Answers

If you want to upgrade every site on a server you could probably make changes to the machine.config

like image 190
TonyB Avatar answered Oct 20 '22 15:10

TonyB


I don't think either of these answers are definitive. The 4guysfromrolla reference is helpful.

Deploying .NET 3.5 to 100+ sites will be a pain. You can't just upgrade the server to the new framework, you have to upgrade the web.config of each site. As far as I can tell, there is no command line tool to do it.

like image 1
user2580 Avatar answered Oct 20 '22 16:10

user2580