Solved

MSDeploy command line + file system

Posted on 2010-09-13
7
1,377 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
7 Comments
 
LVL 23

Expert Comment

by:Admin3k
Comment Utility
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
Comment Utility
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
Comment Utility
as above.
0
 
LVL 23

Accepted Solution

by:
Admin3k earned 500 total points
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Server error in 'XXXXXXXX' application. 12 47
Code enhancement 5 12
Align Buttons next to each other 2 11
Showdialog 8 20
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now