Skip to content

Instantly share code, notes, and snippets.

@chaosddp
Created September 23, 2016 08:30
Show Gist options
  • Select an option

  • Save chaosddp/9d77d0b9441ce2573f76a884a0821243 to your computer and use it in GitHub Desktop.

Select an option

Save chaosddp/9d77d0b9441ce2573f76a884a0821243 to your computer and use it in GitHub Desktop.

Revisions

  1. chaosddp created this gist Sep 23, 2016.
    14 changes: 14 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    @if "%VS140COMNTOOLS%"=="" goto error_no_VS140COMNTOOLSDIR

    @call "%VS140COMNTOOLS%VsDevCmd.bat"

    MSBuild path/to/projectfile /p:Configuration=Release;Platform=x86;AppxBundle=Never;BuildAppxUploadPackageForUap=true;OutDir="path/for/output"

    @goto end

    :error_no_VS140COMNTOOLSDIR
    echo "no vs dir found!"

    goto end

    :end