Hi Martin,
Welcome to MSDN newsgroup.
As for the VS2005's publish website function, it actually do the following
things:
1. Precompile the website (page files and source code , other resources
..) into assemblies
2. Deploy the precompiled site to the target site(location) , it could be
local file dir, IIS vdir (http://) (local or remote...)
However, in comandline , due to the limitation of UI, we can not complete
the #2 steps mentioned above. Based on my research the we can use the
"aspnet_compiler.exe" tool to precompile our web site and put the
precompiled output website to a local file directory. Then, we can deploy
that precompiled website to target location.....
In addition, the ASP.NET dev team has also provided a new web deployment
project which is a VS2005 add-on which can provide more advanced
precompilation options and also support command line execution. You can
find some information about the Web deployment project here:
#Visual Studio 2005 Web Deployment Projects (Beta Preview)
http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx
Hope helps. Thanks,
Steven Cheng
Microsoft Online Support

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: publish web site from command line
| thread-index: AcX0D8UATGOQbACqRsWzaNT02ET9Pg==
[quoted text clipped - 26 lines]
| Thanks,
| Martin
Martin Bischoff - 29 Nov 2005 08:52 GMT
Hi Steven,
thanks for your answer. I knew about the web deployment project, and in fact
this is what I would like to use. But unfortunately it currently does not
work for me:
http://forums.asp.net/1123813/ShowPost.aspx
I will therefore have a look at aspnet_compiler.exe. I do not need to
publish to a remote site, but only to a local directory.
Thanks and best regards,
Martin
> Hi Martin,
>
[quoted text clipped - 63 lines]
> | Thanks,
> | Martin
Steven Cheng[MSFT] - 29 Nov 2005 09:16 GMT
Thanks for your quick response Martin,
If there're anything else we can help, please feel free to post here.
Regards,
Steven Cheng
Microsoft Online Support

Signature
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: publish web site from command line
| thread-index: AcX0wioNslQ+TayORiuz7S9qU18Eqw==
| X-WBNR-Posting-Host: 194.209.202.1
| From: =?Utf-8?B?TWFydGluIEJpc2Nob2Zm?= <nitramb4@newsgroup.nospam>
| References: <EA78A8C3-4A90-4E6C-A384-A2402ACAEB84@microsoft.com>
<TqlqBHL9FHA.1240@TK2MSFTNGXA02.phx.gbl>
| Subject: RE: publish web site from command line
| Date: Tue, 29 Nov 2005 00:52:01 -0800
[quoted text clipped - 50 lines]
| >
| > #Visual Studio 2005 Web Deployment Projects (Beta Preview)
http://msdn.microsoft.com/asp.net/reference/infrastructure/wdp/default.aspx
| > Hope helps. Thanks,
| >
[quoted text clipped - 38 lines]
| > | Thanks,
| > | Martin