"AG" <> wrote in
news:OHfVSJD#:
> Using VS 2008 SP1.
>
> I have a Web Application project (not Website project).
> I added a web deployment project to the solution.
>
> The web deployment project builds to the destination local folder. No
> problem here.
>
> I have searched the web, but must be missing something because I can't
> seem to figure out how to publish the compiled web application.
>
> I know that I can manually copy everything to the web server (a shared
> host), but there must be a simpler way.
>
> The web app itself can be published via Build > Publish, but I don'
> see anything similar for the deployment project.
>
> What am I missing?
>
> Thanks for any help.
>
I see Mark has already taken you through this, but wanted to summarize
and add my thoughts.
If you want to go the normal publish route, you have a few options:
1. XCopy bits over
2. FTP bits over
3. Use the web deployment bits on the server
The other direction is to make an installer project. I would personally
not do this in most instances, as it requires site downtime. The
possible exception is a web farm where you can take one machine down at
a time.
As copying is so much faster (my general downtime was a few seconds), I
see no reason to use an installer other than a really complex site. And
then I would think about it.
Web deployment changes somewhat in VS 2010, with additional options for
setting up config differences, etc.
One option, outside of VS2010, is to use Expression Web to deploy, as it
can use FTP, Web DAV, FrontPage extensions, etc. But there are some
issues with EW, depending on how the server is set up, so it is not a
silver bullet.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Twitter: @gbworld
Blog:
http://gregorybeamer.spaces.live.com
*******************************************
| Think outside the box! |
*******************************************