RE: publish web site from command line



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
|

.



Relevant Pages

  • Invisible Word
    ... If I attempt to do some automation from a web site (I do all of the ... will generate but will not look proper. ... a web context (from a little command line application wrapper) and the ... False' then the document generated by the website and the command line ...
    (microsoft.public.office.developer.automation)
  • Building(Validating) asp.net web project in whidbey beta 2
    ... i want to build the asp.net web site from the command line. ... I dont want ... to precompile it. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: What is the performance difference between ASP.Net Web site Vs Web Application template
    ... Web Site and Web Application. ... If we precompile the Web Application, ... Microsoft Online Support ... nature are best handled working with a dedicated Microsoft Support Engineer ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: What is the performance difference between ASP.Net Web site Vs Web Application template
    ... Actually we are starting a project in Asp.Net and developed a functional mockup in Asp.Net Web Site template, I did some research and found that web application is more scalable than web site, than I convert the whole project into web application and deployed on the same server at different port. ... After that I have created a load test and run on both sites. ... If we precompile the Web Application, ... Microsoft Online Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Visual Studio 2005 - Where did my DLL go?
    ... unless you precompile the site with the publish option or ... >With VS 2003 the DLL is created in the "bin" directory. ... >after some research I created a "Local IIS Web Site". ... >"bin" directory in the virtual directory of the Web app, ...
    (microsoft.public.dotnet.framework.aspnet)