Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19147

Windows: Building a project for ws-local with the --build-only flag errors out

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 4.1.0
    • Fix Version/s: Release 5.0.0
    • Component/s: CLI, Windows
    • Labels:
    • Environment:

      Windows 8.1
      Appc CLI (NPM): 4.1.0-1
      Appc CLI (Registry): 4.1.0-4
      Ti SDK: 4.1.0.v20150702030940

    • Story Points:
      5
    • Sprint:
      2015 Sprint 15 Windows

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Kota Iguchi (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-20088
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration