Hi,
What is the best way to transfer the necessary files of a website to
the webserver.
In VS2003 there was a possibility to say Project copy -> only files,
which are necessary for running !
I can´t find the same in VS 2005 !
greetings
aaapaul
In VS2005, you have two models of website/web application: The default
"website" model, which is different from VS2003: You have no control
over the assembly (name, version), you cannot choose which files are
included, etc... In this model, you can copy the website using a FTP
program for example. All files will be copied to the webserver,
including source files (they will be compiled on demand on the server
itself!)
Alternatively, you can precompile the website using "Build / Publish"
menu. With this function, the assembly will be created locally and then
sent to the web server. You still cannot control it, but at least the
source files are not published.
If you like the VS2003 model, you can use the Web Application Project
add-on. Here, you have a "Publish" option (under the "Build" menu),
which allows you to copy the files to the webserver. You can also choose
"Only files needed to run this application". This is much more like
ASP.NET 1.1
http://webproject.scottgu.com/
*Caution*: The WAP is now part of Visual Studio 2005 Service pack 1. If
you want to install the service pack, you must first uninstall the WAP.
HTH,
Laurent