I'm using VS 2019 and Android SDK API 30.
The deployment of the android app is successful message is shown in the output window but the app is not seen on the emulator.
The output log is posted below:
Output Log:
Build started...
1>------ Build started: Project: Jeevitham, Configuration: Debug Any CPU ------
...
4>Starting deployment to pixel_2_r_11_0_-_api_30 ...
4>Starting emulator pixel_2_r_11_0_-_api_30 ...
4>C:\Program Files (x86)\Android\android-sdk\emulator\emulator.EXE -no-boot-anim -verbose -avd pixel_2_r_11_0_-_api_30 -prop monodroid.avdname=pixel_2_r_11_0_-_api_30
4>Emulator pixel_2_r_11_0_-_api_30 is running.
4>Deploying to pixel_2_r_11_0_-_api_30 ...
Build started.
Project "Jeevitham.Android.csproj" (Install target(s)):
Found Java SDK version 1.8.0.
Found Java SDK version 1.8.0.
PackageName: com.companyname.jeevitham
Dex Fast Deployment Enabled: False
MonoAndroid Tools: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\
Android Platform API level: 30
TargetFrameworkVersion: v11.0
Android NDK:
Android SDK: C:\Program Files (x86)\Android\android-sdk\
Android SDK Build Tools: C:\Program Files (x86)\Android\android-sdk\build-tools\30.0.2\
Java SDK: C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25\
Application Java class: android.app.Application
Project "Jeevitham.csproj" (GetTargetFrameworks target(s)):
Done building project "Jeevitham.csproj".
Project "Jeevitham.csproj" (GetTargetPath target(s)):
Done building project "Jeevitham.csproj".
Project "Jeevitham.csproj" (GetNativeManifest target(s)):
Done building project "Jeevitham.csproj".
Skipping target "_ResolveLibraryProjectImports" because all output files are up-to-date with respect to the input files.
...
Skipping target "_CompileToDalvik" because all output files are up-to-date with respect to the input files.
Copying file from "z:\mobile\VSPodcast\Jeevitham new\Jeevitham\Jeevitham.Android\obj\Debug\110\android\bin\com.companyname.jeevitham.apk" to "z:\mobile\VSPodcast\Jeevitham new\Jeevitham\Jeevitham.Android\bin\Debug\com.companyname.jeevitham.apk".
Continued output log in the output Window:
Creating "obj\Debug\110\android_debug_keystore.flag" because "AlwaysCreate" was specified.
C:\Program Files (x86)\Android\android-sdk\build-tools\30.0.2\zipalign.exe -p 4 "z:\mobile\VSPodcast\Jeevitham new\Jeevitham\Jeevitham.Android\obj\Debug\110\android\bin\com.companyname.jeevitham.apk" "bin\Debug\\com.companyname.jeevitham-Signed.apk"
C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25\bin\java.exe -jar "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\apksigner.jar" sign --ks "C:\Users\John Mangam\AppData\Local\Xamarin\Mono for Android\debug.keystore" --ks-pass pass:android --ks-key-alias androiddebugkey --key-pass pass:android --min-sdk-version 21 --max-sdk-version 30 "z:\mobile\VSPodcast\Jeevitham new\Jeevitham\Jeevitham.Android\bin\Debug\com.companyname.jeevitham-Signed.apk"
Signed android package 'bin\Debug\com.companyname.jeevitham-Signed.apk'
Using cached value from RegisterTaskObject
Found device: emulator-5554
Creating "obj\Debug\110\upload.flag" because "AlwaysCreate" was specified.
Creating directory "obj\.cache\".
Done building project "Jeevitham.Android.csproj".
Build succeeded.
4>Deployment was successful to pixel_2_r_11_0_-_api_30.
========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========
Related
I'm trying to deploy and debug my project on remote machine. My attempt to deploy and debug my code fails and Visual Studio provides me with following log:
1>------ Deploy started: Project: ProjectName, Configuration: Debug x64 ------
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
Any ideas how I may get more output with some actual error codes?
Environment:
MSVS 2019 16.11.5
Verbosity level -- diagnostic both for build output and log file
Cordova build fails since upgrade to 2017. Error from output as below:
Building project: C:\code\presales\PresalesApp\PresalesApp\platforms\windows\CordovaApp.Windows10.jsproj
Configuration : debug
Platform : x64
C:\code\presales\PresalesApp\PresalesApp\platforms\windows\CordovaApp.Windows10.jsproj(61,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v15.0\JavaScript\Microsoft.VisualStudio.WJProject.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
1>MSBUILD : cordova-build error : Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command failed with exit code 1
1>Done building project "PresalesApp.jsproj" -- FAILED.
Have had a look at modules installed and all Windows 10 UWP items seem to be installed.
Anyone else upgraded from 15-17 and had a similar issue?
Verbose Build Log:
1> Task "CreateBuildInfoMetadata" skipped, due to false condition; ( '$(Platform)' == 'android' AND '$(TelemetryEnabled)' == 'True' ) was evaluated as ( 'Windows-x86' == 'android' AND 'True' == 'True' ).
1> Using "CreateBuildInfoMetadata" task from assembly "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.dll".
1> Task "CreateBuildInfoMetadata"
1> Done executing task "CreateBuildInfoMetadata".
1> Using "VsTac" task from assembly "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Microsoft\VisualStudio\v15.0\ApacheCordovaTools\vs-mda-targets\Microsoft.VisualStudio.MultiDeviceHybridApps.MdaBuildTasks.dll".
1> Task "VsTac"
You have been opted out of telemetry. To change this, run: cordova telemetry on.
[VSTAC_VERBOSE]No scripts found for hook "before_build".
[VSTAC_VERBOSE]No scripts found for hook "before_prepare".
[VSTAC_VERBOSE]Checking config.xml for saved platforms that haven't been added to the project
[VSTAC_VERBOSE]Checking for any plugins added to the project that have not been installed in windows platform
[VSTAC_VERBOSE]No differences found between plugins added to project and installed in windows platform. Continuing...
[VSTAC_VERBOSE]Generating config.xml from defaults for platform "windows"
[VSTAC_VERBOSE]Found "merges" for windows platform. Copying over existing "www" files.
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\Square150x150Logo.scale-100.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\Square150x150Logo.scale-100.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\Square150x150Logo.scale-240.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\Square150x150Logo.scale-240.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\Square30x30Logo.scale-100.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\Square30x30Logo.scale-100.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\Square310x310Logo.scale-100.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\Square310x310Logo.scale-100.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\Square44x44Logo.scale-100.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\Square44x44Logo.scale-100.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\Square44x44Logo.scale-240.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\Square44x44Logo.scale-240.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\Square70x70Logo.scale-100.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\Square70x70Logo.scale-100.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\Square71x71Logo.scale-100.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\Square71x71Logo.scale-100.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\Square71x71Logo.scale-240.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\Square71x71Logo.scale-240.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\StoreLogo.scale-100.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\StoreLogo.scale-100.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\StoreLogo.scale-240.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\StoreLogo.scale-240.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\Wide310x150Logo.scale-100.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\Wide310x150Logo.scale-100.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\icons\windows\Wide310x150Logo.scale-240.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\Wide310x150Logo.scale-240.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\screens\windows\SplashScreen.scale-100.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\SplashScreen.scale-100.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\screens\windows\SplashScreen.scale-240.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\SplashScreenPhone.scale-240.png
[VSTAC_VERBOSE]Copying image from C:\code\presales\PresalesApp\PresalesApp\res\screens\windows\SplashScreenPhone.scale-240.png to C:\code\presales\PresalesApp\PresalesApp\platforms\windows\images\SplashScreenPhone.scale-240.png
[VSTAC_VERBOSE]Updated project successfully
[VSTAC_VERBOSE]No scripts found for hook "pre_package".
[VSTAC_VERBOSE]Executing script found in plugin cordova-plugin-ms-adal for hook "after_prepare": plugins\cordova-plugin-ms-adal\scripts\prePackage-windows.js
[VSTAC_VERBOSE]Resolving module name for shelljs => shelljs
[VSTAC_VERBOSE]Resolving module name for path => path
[VSTAC_VERBOSE]Resolving module name for fs => fs
[VSTAC_VERBOSE]Checking config.xml for saved plugins that haven't been added to the project
------ Building platform: windows
------ Build configuration options: --debug -- --win --archs x86
You have been opted out of telemetry. To change this, run: cordova telemetry on.
[VSTAC_VERBOSE]No scripts found for hook "before_compile".
[VSTAC_VERBOSE]Reading build config file: C:\code\presales\PresalesApp\PresalesApp\build.json
[VSTAC_VERBOSE]Searching for available MSBuild versions...
[VSTAC_VERBOSE]Found MSBuild v12.0 at C:\Program Files (x86)\MSBuild\12.0\bin\
[VSTAC_VERBOSE]Found MSBuild v14.0 at C:\Program Files (x86)\MSBuild\14.0\bin\
[VSTAC_VERBOSE]Found MSBuild v4.0 at C:\Windows\Microsoft.NET\Framework\v4.0.30319\
Building project: C:\code\presales\PresalesApp\PresalesApp\platforms\windows\CordovaApp.Windows10.jsproj
Configuration : debug
Platform : x86
C:\code\presales\PresalesApp\PresalesApp\platforms\windows\CordovaApp.Windows10.jsproj(61,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v15.0\JavaScript\Microsoft.VisualStudio.WJProject.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
1> MSBUILD : cordova-build error : Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command failed with exit code 1
1> Done executing task "VsTac" -- FAILED.
1>Done building target "BuildMDA" in project "PresalesApp.jsproj" -- FAILED.
1>
1>Done building project "PresalesApp.jsproj" -- FAILED.
1>
1>Build FAILED.
1>
In my BuildTools folder (C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v15.0) there isn't a Javascript Folder, only a TypeScript folder, but I have selected all options when installing the BuildTools?
After I removed the platform (VS 2015 generated directory) and rebuild, the CLI will get the correct build files for VS2017, and successfully build the project.
VS can do a better job by: Migrate document make it clear, or clear the build didn't clean up the corresponding platform directory.
my Xamarin app doesn't build anymore since I added Akavache to it.
Csc/ CoreCompile fails. If I remove Akavache, It builds fine. There aren't any errors, but I could find the following error in the output window:
8> Output Item(s): CscCommandLineArgs= (TaskId:201)
8>Done executing task "Csc" -- FAILED. (TaskId:201)
8>Done building target "CoreCompile" in project "My.App.csproj" -- FAILED.: (TargetId:242)
8>Target "_CheckForCompileOutputs: (TargetId:243)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "C:\git\Apps\My.App\My.App.csproj" (target "_CleanGetCurrentAndPriorFileWrites" depends on it):
8>Set Property: _DocumentationFileProduced=false
8>Set Property: _DebugSymbolsProduced=false
8>Done building target "_CheckForCompileOutputs" in project "My.App.csproj".: (TargetId:243)
I'm using Akavache 5.0 in a PCL-project for Xamarin. Only my app's PCL project fails to build. But Akavache is used in another/ a referenced PCL-project called My.App.Data. The target frameworks are Xamarin standards: .NET framework 4.5, ASP.NET Core 1.0, Windows 8, Windows Phone 8.1, Xamarin.Android, Xamarin.iOS (Classic) and Xamarin.Mac.
The build fails as soon as Akavache is used by "C:\Program Files (x86)\MSBuild\14.0\bin\csc.exe":
C:\Program Files (x86)\MSBuild\14.0\bin\csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /errorendlocation /preferreduilang:en-US /reference:C:\git\App\Packages\akavache.core.5.0.0\lib\Portable-Net45+Win8+WP8+Wpa81\Akavache.dll /reference:C:\git\App\Packages\akavache.sqlite3.5.0.0\lib\Portable-Net45+Win8+WP8+Wpa81\Akavache.Sqlite3.dll ...
I could solve the issue. I used Splat in version 2.0 instead of 1.6.
I've upgraded to a new windows 10 development machine.
Everything works great, except post-build events in msbuild/visual studio.
This is for any project, new or existing.
They all work fine on other people's windows 7 machines.
They work fine on the build server (jenkins).
They do not work for me at all, either in visual studio or with msbuild.
PRE-build events works fine.
It's like the postbuild event isn't even defined.
Unfortunately, our postbuild events are fundamental to the build process.
Starting with a basic console app and configuring the build events as:
<PropertyGroup>
<PreBuildEvent>echo before build</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>echo after build</PostBuildEvent>
</PropertyGroup>
The build output is literally:
1>------ Rebuild All started: Project: ConsoleApplication1, Configuration: Debug Any CPU ------
1> before build
1> ConsoleApplication1 -> C:\dev\postbuild\ConsoleApplication1\ConsoleApplication1\bin\Debug\ConsoleApplication1.exe
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Running msbuild with /v:diag I get this section:
PostBuildEvent = echo after build
PostBuildEventDependsOn =
PreBuildEvent = echo before build
PreBuildEventDependsOn =
When running prebuild:
Target "PreBuildEvent: (TargetId:22)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "c:\dev\postbuild\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj" (target "CoreBuild" depends on it):
Using "Exec" task from assembly "Microsoft.Build.Tasks.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
Task "Exec" (TaskId:19)
Task Parameter:WorkingDirectory=bin\Debug\ (TaskId:19)
Task Parameter:Command=echo before build (TaskId:19)
echo before build (TaskId:19)
before build (TaskId:19)
Done executing task "Exec". (TaskId:19)
Done building target "PreBuildEvent" in project "ConsoleApplication1.csproj".: (TargetId:22)
When running PostBuild:
Target "PostBuildEvent: (TargetId:77)" in file "C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets" from project "c:\dev\postbuild\ConsoleApplication1\ConsoleApplication1\ConsoleApplication1.csproj" (target "CoreBuild" depends on it):
Done building target "PostBuildEvent" in project "ConsoleApplication1.csproj".: (TargetId:77)
I am developing windows app in phonegap 3.5.0 on windows 8. I am creating test app as per commands given in phonegap documentation. I get error while i connect device or try to run on emulator, as CordovaDeploy.exe not found, attempting to build CordovaDeploy.exe...
C:\hello1\platforms\wp8\cordova\lib\deploy.js(96, 5) WshShell.Exec: The system c
annot find the file specified.
my command prompt script is as below:
C:\>cordova create hello1 com.example.hello1 HelloWorldHP
Creating a new cordova project with name "HelloWorldHP" and id "com.example.hell
o1" at location "C:\hello1"
C:\>cd hello1
C:\hello1>cordova platform add wp8
Checking wp8 requirements...
Creating wp8 project...
platformRoot = C:\Users\IT\.cordova\lib\wp\cordova\3.5.0\wp8
repoRoot = C:\Users\IT\.cordova\lib\wp\cordova\3.5.0
Creating Cordova-WP8 Project:
App Name : HelloWorldHP
Namespace : com.example.hello1
Path : C:\hello1\platforms\wp8
CREATE SUCCESS : C:\hello1\platforms\wp8
C:\hello1>cordova build
Running command: C:\hello1\platforms\wp8\cordova\build.bat
WARNING: [ --debug | --release ] not specified, defaulting to debug...
Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Debug
Directory : C:\hello1\platforms\wp8
toolsVersion 0 is not supported
MSBuildToolsPath: C:\Windows\Microsoft.NET\Framework\v4.0.30319\
buildCommand = %comspec% /c ""C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbu
ild" "C:\hello1\platforms\wp8\HelloWorldHP.sln" /clp:NoSummary;NoItemAndProperty
List;Verbosity=minimal /nologo /p:Configuration=Debug"
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
HelloWorldHP -> C:\hello1\platforms\wp8\Bin\Debug\com.example.hello1.dll
Begin application manifest generation
Application manifest generation completed successfully
Begin Xap packaging
Creating file CordovaAppProj_Debug_AnyCPU.xap
BUILD SUCCESS.
C:\hello1>cordova build wp8
Running command: C:\hello1\platforms\wp8\cordova\build.bat
WARNING: [ --debug | --release ] not specified, defaulting to debug...
Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Debug
Directory : C:\hello1\platforms\wp8
toolsVersion 0 is not supported
MSBuildToolsPath: C:\Windows\Microsoft.NET\Framework\v4.0.30319\
buildCommand = %comspec% /c ""C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbu
ild" "C:\hello1\platforms\wp8\HelloWorldHP.sln" /clp:NoSummary;NoItemAndProperty
List;Verbosity=minimal /nologo /p:Configuration=Debug"
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
HelloWorldHP -> C:\hello1\platforms\wp8\Bin\Debug\com.example.hello1.dll
Begin application manifest generation
Application manifest generation completed successfully
Begin Xap packaging
Creating file CordovaAppProj_Debug_AnyCPU.xap
BUILD SUCCESS.
C:\hello1>C:\hello1\platforms\wp8\cordova\build.bat --debug
Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Debug
Directory : C:\hello1\platforms\wp8
toolsVersion 0 is not supported
MSBuildToolsPath: C:\Windows\Microsoft.NET\Framework\v4.0.30319\
buildCommand = %comspec% /c ""C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbu
ild" "C:\hello1\platforms\wp8\HelloWorldHP.sln" /clp:NoSummary;NoItemAndProperty
List;Verbosity=minimal /nologo /p:Configuration=Debug"
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
HelloWorldHP -> C:\hello1\platforms\wp8\Bin\Debug\com.example.hello1.dll
Begin application manifest generation
Application manifest generation completed successfully
Begin Xap packaging
BUILD SUCCESS.
C:\hello1>C:\hello1\platforms\wp8\cordova\build.bat --release
Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Release
Directory : C:\hello1\platforms\wp8
toolsVersion 0 is not supported
MSBuildToolsPath: C:\Windows\Microsoft.NET\Framework\v4.0.30319\
buildCommand = cmd /c ""C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild" "
C:\hello1\platforms\wp8\HelloWorldHP.sln" /clp:NoSummary;NoItemAndPropertyList;V
erbosity=minimal /nologo /p:Configuration=Release"
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
HelloWorldHP -> C:\hello1\platforms\wp8\Bin\Release\com.example.hello1.dll
Begin application manifest generation
Application manifest generation completed successfully
Begin Xap packaging
Creating file CordovaAppProj_Release_AnyCPU.xap
BUILD SUCCESS.
C:\hello1>C:\hello1\platforms\wp8\cordova\clean.bat
Cleaning cordova project...
C:\hello1>cordova emulate wp8
Running command: C:\hello1\platforms\wp8\cordova\run.bat --emulator
WARNING: [ --debug | --release | --nobuild ] not specified, defaulting to --debu
g.
Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Debug
Directory : C:\hello1\platforms\wp8
toolsVersion 0 is not supported
MSBuildToolsPath: C:\Windows\Microsoft.NET\Framework\v4.0.30319\
buildCommand = %comspec% /c ""C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbu
ild" "C:\hello1\platforms\wp8\HelloWorldHP.sln" /clp:NoSummary;NoItemAndProperty
List;Verbosity=minimal /nologo /p:Configuration=Debug"
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
HelloWorldHP -> C:\hello1\platforms\wp8\Bin\Debug\com.example.hello1.dll
Begin application manifest generation
Application manifest generation completed successfully
Begin Xap packaging
Creating file CordovaAppProj_Debug_AnyCPU.xap
BUILD SUCCESS.
CordovaDeploy.exe not found, attempting to build CordovaDeploy.exe...
C:\hello1\platforms\wp8\cordova\lib\deploy.js(96, 5) WshShell.Exec: The system c
annot find the file specified.
C:\hello1>C:\hello1\platforms\wp8\cordova\run
WARNING: [ --target=<ID> | --emulator | --device ] not specified, defaulting to
--emulator
WARNING: [ --debug | --release | --nobuild ] not specified, defaulting to --debu
g.
Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Debug
Directory : C:\hello1\platforms\wp8
toolsVersion 0 is not supported
MSBuildToolsPath: C:\Windows\Microsoft.NET\Framework\v4.0.30319\
buildCommand = %comspec% /c ""C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbu
ild" "C:\hello1\platforms\wp8\HelloWorldHP.sln" /clp:NoSummary;NoItemAndProperty
List;Verbosity=minimal /nologo /p:Configuration=Debug"
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
HelloWorldHP -> C:\hello1\platforms\wp8\Bin\Debug\com.example.hello1.dll
Begin application manifest generation
Application manifest generation completed successfully
Begin Xap packaging
Creating file CordovaAppProj_Debug_AnyCPU.xap
BUILD SUCCESS.
CordovaDeploy.exe not found, attempting to build CordovaDeploy.exe...
C:\hello1\platforms\wp8\cordova\lib\deploy.js(96, 5) WshShell.Exec: The system c
annot find the file specified.
C:\hello1>C:\hello1\platforms\wp8\cordova\run --device
WARNING: [ --debug | --release | --nobuild ] not specified, defaulting to --debu
g.
Cleaning cordova project...
Building Cordova-WP8 Project:
Configuration : Debug
Directory : C:\hello1\platforms\wp8
toolsVersion 0 is not supported
MSBuildToolsPath: C:\Windows\Microsoft.NET\Framework\v4.0.30319\
buildCommand = %comspec% /c ""C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbu
ild" "C:\hello1\platforms\wp8\HelloWorldHP.sln" /clp:NoSummary;NoItemAndProperty
List;Verbosity=minimal /nologo /p:Configuration=Debug"
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
HelloWorldHP -> C:\hello1\platforms\wp8\Bin\Debug\com.example.hello1.dll
Begin application manifest generation
Application manifest generation completed successfully
Begin Xap packaging
BUILD SUCCESS.
CordovaDeploy.exe not found, attempting to build CordovaDeploy.exe...
C:\hello1\platforms\wp8\cordova\lib\deploy.js(96, 5) WshShell.Exec: The system c
annot find the file specified.
C:\hello1>
I've just encountered the same problem and I think it's because I'm using Visual Studio Express to build WP8 app with.
When I go to open the SLN file for CordovaDeploy (in your platforms/wp8/cordova/lib directory) you'll see it says this version of Visual Studio can only build Windows Store apps and I expect you need the command line build version.
Work around is just to use the deploy system usually found in
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Windows Phone SDK 8.0
named Application Deployment.
That said mine still isn't working and I get a funky unhelpful error of 0x8973190E there.
Using a Nokia Lumia630/VS Express 2013 on WP8 Pro.