2016-02-11 80 views
0

使用MobileFirst Studio將我的MobileFirst 6.3應用程序遷移到MobileFirst 7.1後,我在Windows8環境中生成時出現錯誤。該錯誤指向一個文件,該文件已作爲jsproj文件中的引用添加,但完全從本地文件系統中丟失。缺少的文件是AuthWinRT.targets文件。Windows8應用程序的Mobilefirst 7.1遷移後丟失的文件

[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) 
+0

關閉visual studio,重新打開,清理,重建您的項目 –

+0

什麼是您的MFP 7.1的確切版本 –

回答

1

現在,您可以將AuthWinRT.targets文件(在創建新項目時獲得它)複製到本地文件夾並重建它。同時我們將調查移民問題。另外,當你有這個文件時,你將不得不選擇'x86'或'ARM'或'X64'平臺並重建項目。項目不能與'AnyCPU'一起使用。

相關問題