locked
How to deploy project from commandline

    Question

  • I wonder if its possible to perform the project's context menu "deploy" action from the command line?
    Tuesday, April 21, 2015 1:33 PM

Answers

  • Hi pkursawe,

    /Deploy should help you.

    devenv SolutionName /deploy SolnConfigName [/project ProjName] [/projectconfig ProjConfigName] [/out LogFileName]
    

    --James


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by pkursawe Saturday, April 25, 2015 10:21 PM
    Friday, April 24, 2015 9:46 AM
    Moderator

All replies

  • There is an MakeAppx.exe tool: https://msdn.microsoft.com/en-us/library/windows/desktop/hh446767%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

    Deploy Windows Store App From Command Line: http://stackoverflow.com/questions/21353886/deploy-windows-store-app-from-command-line


    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't post several questions in the same thread.

    Tuesday, April 21, 2015 2:52 PM
  • The SO thread does not answer my and the OP's question at all. People completely misunderstood the question.

    The makeappx tool can operate on VS projects file build output folder?

    Tuesday, April 21, 2015 3:02 PM
  • >>The makeappx tool can operate on VS projects file build output folder?

    If you just want to build the application and create an package you could use MSBuild:

    Create an app package at the command prompt: https://msdn.microsoft.com/en-us/library/hh924768.aspx?f=255&MSPPError=-2147217396

    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

    Tuesday, April 21, 2015 3:16 PM
  • Magnus, thanks for trying to help. But I do not want to build packages. I already know how to do that. I want to deploy the package on a remote computer like I can within VS.
    Tuesday, April 21, 2015 6:32 PM
  • Hi pkursawe,

    /Deploy should help you.

    devenv SolutionName /deploy SolnConfigName [/project ProjName] [/projectconfig ProjConfigName] [/out LogFileName]
    

    --James


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by pkursawe Saturday, April 25, 2015 10:21 PM
    Friday, April 24, 2015 9:46 AM
    Moderator
  • So there is no msbuild target that can perform deployment then?
    Saturday, April 25, 2015 10:22 PM