在Windows8应用程序的Mobilefirst 7.1迁移后丢失文件

时间:2016-02-11 20:22:00

标签: ibm-mobilefirst mobilefirst-studio

在使用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)

1 个答案:

答案 0 :(得分:1)

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

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