Created
September 23, 2016 08:30
-
-
Save chaosddp/9d77d0b9441ce2573f76a884a0821243 to your computer and use it in GitHub Desktop.
cmd to create uwp package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment