Advertisement
Guest User

Trying to run PhoneGap WP8 app fails "MSBUILD FAILED TO COMP

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