在我使用 MobileFirst Studio 将我的 MobileFirst 6.3 应用程序迁移到 MobileFirst 7.1 之后,在我的 Windows8 环境中构建时出现错误。该错误指向一个文件,该文件已作为参考添加到我的 jsproj 文件中,但在我的本地文件系统中完全丢失。缺少的文件是 AuthWinRT.targets 文件。
[exec]
[exec] Build started 2/11/2016 1:27:41 PM.
[exec] Project "C:\HOME\3Q2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.jsproj" on node 1 (Clean;Rebuild;Publish target(s)).
[exec] C:\HOME\3Q2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.jsproj(1471,1): error MSB4019: The imported project "C:\HOME\3Q2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AuthWinRT.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:\HOME\3Q2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.jsproj" (Clean;Rebuild;Publish target(s)) -- FAILED.
[exec]
[exec] Build FAILED.
[exec]
[exec] "C:\HOME\3Q2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.jsproj" (Clean;Rebuild;Publish target) (1) ->
[exec] C:\HOME\3Q2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.jsproj(1471,1): error MSB4019: The imported project "C:\HOME\3Q2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AuthWinRT.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)