Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

MSDeploy command line + file system

Posted on 2010-09-13
7
Medium Priority
?
1,394 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
7 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

609 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