- Posted by justin on February 16, 2007
When I originally started using visual studio 2005 the web application project was just publicly released so I choose not to use it. The web site project seemed to work fairly well for what I needed. However, the more I used it the more I could not deal with the compile times. It would literally take 5+ minutes to compile the web site. I also started having issues with dependencies and a nasty invalid memory location error for the web.config that we could not get rid of on all of the developers machines.
So this afternoon, I finally made the jump to the web application project. I was expecting it to be a difficult process but overall it went ok. I had three problems: 1.) the files that used to be in the app_code were now in the old_app_code and they were not listed as compile items. 2.) I had to run the convert to web application project multiple times to get all of the files to convert 3.) my web services code behind files were listed in the app_code before, I had to move them back to the correct directory so that they could be associated to the asmx file.
To do the migration I followed the tutorial at http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx