Windows8 应用的 Mobilefirst 7.1 迁移后缺少文件

Missing file after Mobilefirst 7.1 migration of Windows8 app

在我使用 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:\HOMEQ2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.jsproj" on node 1 (Clean;Rebuild;Publish target(s)).
 [exec] C:\HOMEQ2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.jsproj(1471,1): error MSB4019: The imported project "C:\HOMEQ2016-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:\HOMEQ2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.jsproj" (Clean;Rebuild;Publish target(s)) -- FAILED.
 [exec] 
 [exec] Build FAILED.
 [exec] 
 [exec] "C:\HOMEQ2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.jsproj" (Clean;Rebuild;Publish target) (1) ->
 [exec]   C:\HOMEQ2016-Blue-app-builddeploy-appx\MaximoAnywhere\apps\AssetAudit\windows8\native\AssetAudit.jsproj(1471,1): error MSB4019: The imported project "C:\HOMEQ2016-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)

现在您可以将 AuthWinRT.targets 文件(您可以在创建新项目时获取)复制到本机文件夹并重建它。同时我们会调查迁移问题。

此外,当您拥有此文件后,您将必须 select 'x86' 或 'ARM' 或 'X64' 平台并重建项目。项目不适用于 'AnyCPU'.