?
Solved

MSDeploy command line + file system

Posted on 2010-09-13
7
Medium Priority
?
1,395 Views
Last Modified: 2013-11-26
Given and SLN file, I need to build, then deploy my web application to a specified location using comand line tools only.

0
Comment
Question by:iziizi
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:Mohamed Osama
ID: 33715952
This works for me for a similar purpose
first it does TF  get from the TFS source control, Compiles , builds and publishes the website.
"%PROGRAMFILES%\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe"  get "C:\DEV\Website /recursive

"%PROGRAMFILES%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe  "C:\DEV\solution.sln" /build Release
(can also be done using MSbuild.exe)

aspnet_compiler -v /Website -p  C:\DEV  -aptca C:\Website



now is there any additional added value you wish to achieve by using Msdeploy ?






0
 

Author Comment

by:iziizi
ID: 33892057
Sorry, this is not what is required. I need to use tools which do not rely on TFS  - I am using Hudson for automatic builds and error checking. I want to add in a script to execute after a build to publish the site using hudson.
0
 

Author Comment

by:iziizi
ID: 33892062
as above.
0
 
LVL 23

Accepted Solution

by:
Mohamed Osama earned 2000 total points
ID: 33897469
It would have helped if you gave such information in the initial post, mentioned a CI build or something similar
anyway since this appears to be still visual studio the below part should do what you need once you have got latest from your repository
"%PROGRAMFILES%\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe  "C:\DEV\solution.sln" /build Release

(can also be done using MSbuild.exe)

aspnet_compiler -v /Website -p  C:\DEV  -aptca C:\Website

0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month16 days, 20 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question