Troubleshooting
Problem
When building Maximo Anywhere windows applications you may receive the following error. error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v\JavaScript\Microsoft.VisualStudio.WJProject.targets" was not found
Symptom
Running 'build all' for Windows results in the following error.
The ' characters around the executable and arguments are
not part of the command.
[exec] Entered w8-build-release.bat
[exec]
[exec] Params
[exec] 1: VISUAL_STUDIO_TOOLS_PATH: ["C:/Program Files (x86)/Microsoft Visual Studio 14.0/Common7/Tools"]
[exec] 2: APPLICATION_NAME: [AssetAudit]
[exec] 3: CONFIGURATION_TARGET: [Release]
[exec] 4: PLATFORM_TARGET: [x64]
[exec] Microsoft (R) Build Engine version 14.0.25420.1
[exec] Copyright (C) Microsoft Corporation. All rights reserved.
[exec]
[exec] Build started 7/24/2017 10:01:56 PM.
[exec] Project "C:\IBM\Anywhere\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.Windows8\AssetAudit.Windows8.jsproj" on node 1 (Clean;Rebuild;Publish target(s)).
[exec] C:\IBM\Anywhere\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.Windows8\AssetAudit.Windows8.jsproj(101,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v\JavaScript\Microsoft.VisualStudio.WJProject.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
[exec] Done Building Project "C:\IBM\Anywhere\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.Windows8\AssetAudit.Windows8.jsproj" (Clean;Rebuild;Publish target(s)) -- FAILED.
[exec]
[exec] Build FAILED.
[exec]
[exec] "C:\IBM\Anywhere\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.Windows8\AssetAudit.Windows8.jsproj" (Clean;Rebuild;Publish target) (1) ->
[exec] C:\IBM\Anywhere\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.Windows8\AssetAudit.Windows8.jsproj(101,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v\JavaScript\Microsoft.VisualStudio.WJProject.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
[exec]
[exec] 0 Warning(s)
[exec] 1 Error(s)
[exec]
[exec] Time Elapsed 00:00:00.23
-build-native-appx: duration 3 seconds
[antcall] Exiting C:\IBM\Anywhere\MaximoAnywhere\anywhere-apps-builder.xml.
-build-all-native-appx: duration 3 seconds
[ant] Exiting C:\IBM\Anywhere\MaximoAnywhere\anywhere-apps-builder.xml.
all-dist: duration 3 seconds
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg22006619