Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5208

Adding WP7 platform: when project path contains spaces, .csproj and .sln files have incorrect generic names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 3.1.0
    • None
    • cordova-wp7 (DEFUNCT)
    • None
    • Windows 7 64 bit

    Description

      Create your project in a location that contains space, i.e.
      'C:\Users\natalia.b\my test workspace'

      Try to add wp7 platform. All seems to be fine, you'll see the log:

      Running bin/create for platform "wp7" with command: ""C:\Users\natalia.b\.cordova\lib\wp\cordova\3.1.0\wp7\bin\create" "C:\Users\natalia.b\my test workspace\mymobile\platforms\wp7" "org.codova" "mymobile"" (output to follow)
      platformRoot = C:\Users\natalia.b\.cordova\lib\wp\cordova\3.1.0\wp7
      repoRoot = C:\Users\natalia.b\.cordova\lib\wp\cordova\3.1.0
      Creating Cordova-WP7 Project:
      App Name : mymobile
      Namespace : org.codova
      Path : C:\Users\natalia.b\my test workspace\mymobile\platforms\wp7
      CREATE SUCCESS :C:\Users\natalia.b\my test workspace\mymobile\platforms\wp7

      But if you take a look at generated files you'll get:
      CordovaWP7AppProj.csproj
      CordovaWP7Solution.sln

      instead of
      mymobile.csproj
      mymobile.sln

      It won't be possible to launch WP7 emulator, as you'll get the error:

      error MSB3202: The project file "C:\Users\natalia.b\my test workspace\mymobile\platforms\wp7\m.csproj" was not found. [C:\Users\natalia.b\my test workspace\mymobile\platforms\wp7\CordovaWP7Solution.sln]

      Attachments

        Activity

          People

            Unassigned Unassigned
            nataliab Natalia Bartol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: