Results 1 to 2 of 2

Thread: Visual Studio Post-Build event command line does not work with Sencha

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Vote Rating

    Default Visual Studio Post-Build event command line does not work with Sencha

    I installed Sencha and everything seems to work when I work directly with the command line. For example, in my command line, when I go to the path with my senchasdk and type - "sencha app build production" - the site begins to minify the correct files.

    If I put this call in a .bat file and call the batch file from the command line, it also works correctly.

    However, I run into problems when I try to call sencha from my Visual Studio Post-build event command line. If I have "sencha app build production" in the post-build event command line, I get the error: sencha app build production" exited with code 9009.

    I tried going to the path such as:
    cd $(SolutionDir)
    sencha app build production
    but this throws the same error.

    I tried calling the batch file by having this in the post-build event command line:
    This calls the batch file, but when it hits the line: sencha app build production, I get an error message of:
    'sencha' is not recognized as an internal or external command,
    operable program or batch file.

    My batch file simply contains this:
    sencha app build productionecho "test"
    echo "END"

    Anyone else run into this problem?

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    What user is the file being executed as? I'm thinking it's a different user where the path for Cmd is not there.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts