RE: publish web site from command line



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

"Steven Cheng[MSFT]" wrote:

> 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
>
> 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==
> | X-WBNR-Posting-Host: 194.209.202.1
> | From: =?Utf-8?B?TWFydGluIEJpc2Nob2Zm?= <nitramb4@xxxxxxxxxxxxxxxx>
> | Subject: publish web site from command line
> | Date: Mon, 28 Nov 2005 03:35:01 -0800
> | Lines: 7
> | Message-ID: <EA78A8C3-4A90-4E6C-A384-A2402ACAEB84@xxxxxxxxxxxxx>
> | MIME-Version: 1.0
> | Content-Type: text/plain;
> | charset="Utf-8"
> | Content-Transfer-Encoding: 7bit
> | X-Newsreader: Microsoft CDO for Windows 2000
> | Content-Class: urn:content-classes:message
> | Importance: normal
> | Priority: normal
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
> | Newsgroups: microsoft.public.vsnet.general
> | NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
> | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
> | Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.vsnet.general:29455
> | X-Tomcat-NG: microsoft.public.vsnet.general
> |
> | Is it possible to invoke the publish web site command in visual studio
> 2005
> | from a command line?
> | (for example, building a solution can be started from the command line
> with
> | devenv.exe /build ...).
> |
> | Thanks,
> | Martin
> |
>
>
.