Advertisement
Guest User

Cordova app build on a PC with VS2013 and WP8.1 SDK

a guest
Apr 16th, 2014
602
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.93 KB | None | 0 0
  1. Your environment has been set up for using Node.js 0.10.26 (x64) and npm.
  2.  
  3. C:\Users\developer>cd hello
  4.  
  5. C:\Users\developer\hello>cordova run
  6. Running command: C:\Users\developer\hello\platforms\wp8\cordova\run.bat
  7. WARNING: [ --target=<ID> | --emulator | --device ] not specified, defaulting to
  8. --emulator
  9. WARNING: [ --debug | --release | --nobuild ] not specified, defaulting to --debu
  10. g.
  11.  
  12. Cleaning cordova project...
  13. Building Cordova-WP8 Project:
  14. Configuration : Debug
  15. Directory : C:\Users\developer\hello\platforms\wp8
  16. Building the projects in this solution one at a time. To enable parallel build,
  17. please add the "/m" switch.
  18. HelloWorld -> C:\Users\developer\hello\platforms\wp8\Bin\Debug\com.example.hel
  19. lo.dll
  20. Begin application manifest generation
  21. Application manifest generation completed successfully
  22. Begin Xap packaging
  23. Creating file CordovaAppProj_Debug_AnyCPU.xap
  24. Adding com.example.hello.dll
  25. Adding config.xml
  26. Adding Images\appbar.back.rest.png
  27. BUILD SUCCESS.
  28.  
  29. CordovaDeploy.exe not found, attempting to build CordovaDeploy.exe...
  30. Microsoft (R) Build Engine version 4.0.30319.33440
  31. [Microsoft .NET Framework, version 4.0.30319.34014]
  32. Copyright (C) Microsoft Corporation. All rights reserved.
  33.  
  34. Building the projects in this solution one at a time. To enable parallel build,
  35. please add the "/m" switch.
  36. Build started 16.04.2014. 16:26:32.
  37. Project "C:\Users\developer\hello\platforms\wp8\cordova\lib\CordovaDeploy\Cordov
  38. aDeploy.sln" on node 1 (default targets).
  39. ValidateSolutionConfiguration:
  40. Building solution configuration "Debug|x86".
  41. Project "C:\Users\developer\hello\platforms\wp8\cordova\lib\CordovaDeploy\Cordov
  42. aDeploy.sln" (1) is building "C:\Users\developer\hello\platforms\wp8\cordova\lib
  43. \CordovaDeploy\CordovaDeploy\CordovaDeploy.csproj" (2) on node 1 (default target
  44. s).
  45. PrepareForBuild:
  46. Creating directory "bin\Debug\".
  47. Creating directory "obj\x86\Debug\".
  48. ResolveAssemblyReferences:
  49. No way to resolve conflict between "Microsoft.VisualStudio.DeviceConnectivity.
  50. Interop.11.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
  51. " and "Microsoft.VisualStudio.DeviceConnectivity.Interop.11.0, Version=11.0.0.0,
  52. Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Choosing "Microsoft.VisualSt
  53. udio.DeviceConnectivity.Interop.11.0, Version=12.0.0.0, Culture=neutral, PublicK
  54. eyToken=b03f5f7f11d50a3a" arbitrarily.
  55. Consider app.config remapping of assembly "Microsoft.VisualStudio.DeviceConnec
  56. tivity.Interop.11.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Vers
  57. ion "11.0.0.0" [C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudi
  58. o.DeviceConnectivity.Interop.11.0\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.Visu
  59. alStudio.DeviceConnectivity.Interop.11.0.dll] to Version "12.0.0.0" [C:\Windows\
  60. Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualStudio.DeviceConnectivity.Intero
  61. p.11.0\v4.0_12.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.DeviceConnectivity
  62. .Interop.11.0.dll] to solve conflict and get rid of warning.
  63. Consider app.config remapping of assembly "Microsoft.SmartDevice.Connectivity,
  64. Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" from Version "11.0.0.0" [C:\W
  65. indows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.SmartDevice.Connectivity\v4.0_1
  66. 1.0.0.0__b03f5f7f11d50a3a\Microsoft.SmartDevice.Connectivity.dll] to Version "12
  67. .0.0.0" [C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Smartdevice.Connec
  68. tivity\v4.0_12.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.Connectivity.dll] t
  69. o solve conflict and get rid of warning.
  70. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5):
  71. warning MSB3247: Found conflicts between different versions of the same dependen
  72. t assembly. [C:\Users\developer\hello\platforms\wp8\cordova\lib\CordovaDeploy\Co
  73. rdovaDeploy\CordovaDeploy.csproj]
  74. GenerateTargetFrameworkMonikerAttribute:
  75. Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output fil
  76. es are up-to-date with respect to the input files.
  77. CoreCompile:
  78. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,1
  79. 702 /nostdlib+ /platform:x86 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /ma
  80. in:CordovaDeploy.DeployTool /highentropyva+ /reference:"C:\Program Files (x86)\R
  81. eference Assemblies\Microsoft\Framework\.NETFramework\v4.5\Microsoft.CSharp.dll"
  82. /reference:C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Smartdevice.Con
  83. nectivity\v4.0_12.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.Connectivity.dll
  84. /reference:C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Smartdevice.Con
  85. nectivity.Interface\v4.0_12.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.Connec
  86. tivity.Interface.dll /reference:C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Micro
  87. soft.Smartdevice.MultiTargeting.Connectivity\v4.0_12.0.0.0__b03f5f7f11d50a3a\Mic
  88. rosoft.Smartdevice.MultiTargeting.Connectivity.dll /reference:"C:\Program Files
  89. (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll"
  90. /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NET
  91. Framework\v4.5\System.Core.dll" /reference:"C:\Program Files (x86)\Reference Ass
  92. emblies\Microsoft\Framework\.NETFramework\v4.5\System.Data.DataSetExtensions.dll
  93. " /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.N
  94. ETFramework\v4.5\System.Data.dll" /reference:"C:\Program Files (x86)\Reference A
  95. ssemblies\Microsoft\Framework\.NETFramework\v4.5\System.dll" /reference:"C:\Prog
  96. ram Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\Syst
  97. em.Xml.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Fr
  98. amework\.NETFramework\v4.5\System.Xml.Linq.dll" /debug+ /debug:full /filealign:5
  99. 12 /optimize- /out:obj\x86\Debug\CordovaDeploy.exe /subsystemversion:6.00 /targe
  100. t:exe /utf8output Program.cs Properties\AssemblyInfo.cs "C:\Users\developer\AppD
  101. ata\Local\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.cs"
  102. Program.cs(249,58): error CS1501: No overload for method 'GetIsolatedStore' take
  103. s 0 arguments [C:\Users\developer\hello\platforms\wp8\cordova\lib\CordovaDeploy\
  104. CordovaDeploy\CordovaDeploy.csproj]
  105. Done Building Project "C:\Users\developer\hello\platforms\wp8\cordova\lib\Cordov
  106. aDeploy\CordovaDeploy\CordovaDeploy.csproj" (default targets) -- FAILED.
  107. Done Building Project "C:\Users\developer\hello\platforms\wp8\cordova\lib\Cordov
  108. aDeploy\CordovaDeploy.sln" (default targets) -- FAILED.
  109.  
  110. Build FAILED.
  111.  
  112. "C:\Users\developer\hello\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy.
  113. sln" (default target) (1) ->
  114. "C:\Users\developer\hello\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\
  115. CordovaDeploy.csproj" (default target) (2) ->
  116. (ResolveAssemblyReferences target) ->
  117. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5)
  118. : warning MSB3247: Found conflicts between different versions of the same depend
  119. ent assembly. [C:\Users\developer\hello\platforms\wp8\cordova\lib\CordovaDeploy\
  120. CordovaDeploy\CordovaDeploy.csproj]
  121.  
  122.  
  123. "C:\Users\developer\hello\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy.
  124. sln" (default target) (1) ->
  125. "C:\Users\developer\hello\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\
  126. CordovaDeploy.csproj" (default target) (2) ->
  127. (CoreCompile target) ->
  128. Program.cs(249,58): error CS1501: No overload for method 'GetIsolatedStore' ta
  129. kes 0 arguments [C:\Users\developer\hello\platforms\wp8\cordova\lib\CordovaDeplo
  130. y\CordovaDeploy\CordovaDeploy.csproj]
  131.  
  132. 1 Warning(s)
  133. 1 Error(s)
  134.  
  135. Time Elapsed 00:00:01.75
  136.  
  137. ERROR: MSBUILD FAILED TO COMPILE CordovaDeploy.exe
  138. Error: C:\Users\developer\hello\platforms\wp8\cordova\run.bat: Command failed wi
  139. th exit code 2
  140. at ChildProcess.whenDone (C:\Users\developer\AppData\Roaming\npm\node_module
  141. s\cordova\src\superspawn.js:126:23)
  142. at ChildProcess.EventEmitter.emit (events.js:98:17)
  143. at maybeClose (child_process.js:743:16)
  144. at Process.ChildProcess._handle.onexit (child_process.js:810:5)
  145.  
  146. C:\Users\developer\hello>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement