Project: titanium
Issue TIMOB-19147: Windows: Building a project for ws-local with the --build-only flag errors out
h5.Description When building a project for ws-local the build fails during the MSBuild phase with errors relating to the certificate files. {code} [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] {code} The issue still persists when passing the cert in using the --ws-cert flag h5.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 h5.Actual result The build will error out h5.Expected result The build should not error out
Story points: 5