Description
When building a project for ws-local the build fails during the MSBuild phase with errors relating to the certificate files.
[WARN] "C:\Users\Windo_000\AppData\Local\Temp\classicProject\store.x86\ClassicProject.vcxproj" (Rebuild target) (6) ->
(_CreateMainPackage target) ->
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(2247,9): error APPX0104: Certificate fi
le 'undefined' not found. [C:\Users\Windo_000\AppData\Local\Temp\classicProject\store.x86\ClassicProject.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(2247,9): error APPX0102: A certificate
with thumbprint 'undefined' that is specified in the project cannot be found in the certificate store. Please specify a valid thumbprint in the projec
t file. [C:\Users\Windo_000\AppData\Local\Temp\classicProject\store.x86\ClassicProject.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\Microsoft.AppXPackage.Targets(2247,9): error APPX0107: The certificat
e specified is not valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478. [C:\Users\Wind
o_000\AppData\Local\Temp\classicProject\store.x86\ClassicProject.vcxproj]
The issue still persists when passing the cert in using the --ws-cert flag
Steps to reproduce
1. Build a project using
appc run -p windows -T ws-local --build-only
2. Either provide a cert of generate one
Actual result
The build will error out
Expected result
The build should not error out
https://github.com/appcelerator/titanium_mobile_windows/pull/391
Verified using: Windows 8.1 Appc CLI Core: 5.0.0-33 Appc CLI NPM: 4.2.0-1 Titanium SDK: 5.0.0.v20150902095518 When building a project using the following command,
appc run -p windows -T ws-local --build-only
, the project build successfully Closing ticket