[ https://issues.apache.org/jira/browse/CB-5360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13839527#comment-13839527 ]
ASF subversion and git services commented on CB-5360: ----------------------------------------------------- Commit 9aa586aa7fc3fecfa9c8dba3567ada9234e3de2b in branch refs/heads/3.3.x from [~purplecabbage] [ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=9aa586a ] CB-5360 fix compiler whinings > WP8 CLI emulate command produce warnings out of the box > ------------------------------------------------------- > > Key: CB-5360 > URL: https://issues.apache.org/jira/browse/CB-5360 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, WP7, WP8 > Affects Versions: Master, 3.2.0 > Environment: Windows 8 Pro x64 > Reporter: Carlos Santana > Assignee: Jesse MacFadyen > > Steps to reproduce > cordova create wp8-plain > cd wp8-plain > cordova platform add wp8 > cordova build > cordova emulate -d > Expected Results: > No Warnings, its a clean project > Actual Results: > 3 Warnings > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy.sln" > (default target) (1) -> > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeploy.csproj" > (default target) (2) -> > (ResolveAssemblyReferences target) -> > > C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): > warning MSB3247: Found conflicts between different versions of the same > dependent assembly. [C:\Users\Carlos\Desktop\G > itHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeploy.csproj] > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy.sln" > (default target) (1) -> > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeploy.csproj" > (default target) (2) -> > (CoreCompile target) -> > Program.cs(178,49): warning CS0168: The variable 'e' is declared but never > used > [C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeplo > y.csproj] > Program.cs(181,53): warning CS0168: The variable 'ex' is declared but never > used > [C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDepl > oy.csproj] > Full Log: > C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain>cordova emulate -d > Downloading cordova-wp8-dev library for wp8... > Generating config.xml from defaults for platform "wp8" > Calling plugman.prepare for platform "wp8" > Preparing wp8 project > Processing configuration changes for plugins. > Iterating over installed plugins: [] > Writing out cordova_plugins.js... > Running on emulator for platform "wp8" via command "cmd" /c > C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\run > --emulator > WARNING: [ --debug | --release | --nobuild ] not specified, defaulting to > --debug. > Cleaning cordova project... > Building Cordova-WP8 Project: > Configuration : Debug > Directory : > C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8 > Building the projects in this solution one at a time. To enable parallel > build, please add the "/m" switch. > HelloCordova -> > C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\Bin\Debug\io.cordova.hellocordova.dll > Begin application manifest generation > Application manifest generation completed successfully > Begin Xap packaging > Creating file CordovaAppProj_Debug_AnyCPU.xap > Adding io.cordova.hellocordova.dll > Adding config.xml > Adding Images\appbar.back.rest.png > Adding Images\appbar.close.rest.png > BUILD SUCCESS. > CordovaDeploy.exe not found, attempting to build CordovaDeploy.exe... > Microsoft (R) Build Engine version 4.0.30319.17929 > [Microsoft .NET Framework, version 4.0.30319.18051] > Copyright (C) Microsoft Corporation. All rights reserved. > Building the projects in this solution one at a time. To enable parallel > build, please add the "/m" switch. > Build started 11/12/2013 12:29:58 PM. > Project > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy.sln" > on node 1 (default targets). > ValidateSolutionConfiguration: > Building solution configuration "Debug|x86". > Project > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy.sln" > (1) is building > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8 > \cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeploy.csproj" (2) on node 1 > (default targets). > PrepareForBuild: > Creating directory "bin\Debug\". > Creating directory "obj\x86\Debug\". > ResolveAssemblyReferences: > Consider app.config remapping of assembly > "Microsoft.SmartDevice.Connectivity, Culture=neutral, > PublicKeyToken=b03f5f7f11d50a3a" from Version "10.0.0.0" > [C:\Windows\Microsoft.Net\assembly\GAC_MSIL\M > icrosoft.SmartDevice.Connectivity\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.SmartDevice.Connectivity.dll] > to Version "11.0.0.0" > [C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Smartdevice.Connec > tivity\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.Connectivity.dll] > to solve conflict and get rid of warning. > C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): > warning MSB3247: Found conflicts between different versions of the same > dependent assembly. [C:\Users\Carlos\Desktop\Git > Hub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeploy.csproj] > GenerateTargetFrameworkMonikerAttribute: > Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output > files are up-to-date with respect to the input files. > CoreCompile: > C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig > /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /warn:4 > /define:DEBUG;TRACE /main:CordovaDeploy.DeployTool /highentropy > va+ /reference:"C:\Program Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.5\Microsoft.CSharp.dll" > /reference:C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Smartdevice.Con > nectivity\v4.0_11.0.0.0__b03f5f7f11d50a3a\Microsoft.Smartdevice.Connectivity.dll > > /reference:C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Smartdevice.Connectivity.Interface\v4.0_11.0.0.0__b03f5 > f7f11d50a3a\Microsoft.Smartdevice.Connectivity.Interface.dll > /reference:C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Smartdevice.MultiTargeting.Connectivity\v4.0_11.0.0.0__b03f5f7f11d50a3a\Mic > rosoft.Smartdevice.MultiTargeting.Connectivity.dll /reference:"C:\Program > Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.5\mscorlib.dll" > /reference:"C:\Program Files (x86)\Refer > ence Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Core.dll" > /reference:"C:\Program Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Data.DataSetExtensions.dll > " /reference:"C:\Program Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Data.dll" > /reference:"C:\Program Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramew > ork\v4.5\System.dll" /reference:"C:\Program Files (x86)\Reference > Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.dll" > /reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Fr > amework\.NETFramework\v4.5\System.Xml.Linq.dll" /debug+ /debug:full > /filealign:512 /optimize- /out:obj\x86\Debug\CordovaDeploy.exe > /subsystemversion:6.00 /target:exe /utf8output Program.cs Properties\ > AssemblyInfo.cs > "C:\Users\Carlos\AppData\Local\Temp\.NETFramework,Version=v4.5.AssemblyAttributes.cs" > Program.cs(178,49): warning CS0168: The variable 'e' is declared but never > used > [C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeploy. > csproj] > Program.cs(181,53): warning CS0168: The variable 'ex' is declared but never > used > [C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeploy > .csproj] > _CopyAppConfigFile: > Copying file from "app.config" to "bin\Debug\CordovaDeploy.exe.config". > CopyFilesToOutputDirectory: > Copying file from "obj\x86\Debug\CordovaDeploy.exe" to > "bin\Debug\CordovaDeploy.exe". > CordovaDeploy -> > C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\bin\Debug\CordovaDeploy.exe > Copying file from "obj\x86\Debug\CordovaDeploy.pdb" to > "bin\Debug\CordovaDeploy.pdb". > Done Building Project > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeploy.csproj" > (default targets). > Done Building Project > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy.sln" > (default targets). > Build succeeded. > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy.sln" > (default target) (1) -> > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeploy.csproj" > (default target) (2) -> > (ResolveAssemblyReferences target) -> > > C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): > warning MSB3247: Found conflicts between different versions of the same > dependent assembly. [C:\Users\Carlos\Desktop\G > itHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeploy.csproj] > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy.sln" > (default target) (1) -> > "C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeploy.csproj" > (default target) (2) -> > (CoreCompile target) -> > Program.cs(178,49): warning CS0168: The variable 'e' is declared but never > used > [C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDeplo > y.csproj] > Program.cs(181,53): warning CS0168: The variable 'ex' is declared but never > used > [C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\lib\CordovaDeploy\CordovaDeploy\CordovaDepl > oy.csproj] > 3 Warning(s) > 0 Error(s) > Time Elapsed 00:00:03.16 > CordovaDeploy.exe compiled, SUCCESS. > Deploying to emulator ... > Connecting to device :: 5E7661DF-D928-40ff-B747-A4B1957194F9 : Emulator WVGA > 512MB > Installing app on Emulator WVGA 512MB > Launching app on Emulator WVGA 512MB > child_process.spawn(cmd,[/c, > C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain\platforms\wp8\cordova\run, > --emulator]) = 0 > Platform "wp8" deployed to emulator. > C:\Users\Carlos\Desktop\GitHub\cordova32\wp8-plain> -- This message was sent by Atlassian JIRA (v6.1#6144)