任务GenerateAppxPackageRecipe意外失败

时间:2018-10-25 12:45:40

标签: xamarin xamarin.uwp

有人遇到此错误吗?当我尝试构建项目时会发生这种情况。我一直在寻找解决方案两天了,发现的唯一“解决方案”是:清理项目,删除项目中的bin / obj文件并重建。Heres a screenshot of the error I get. 它与我的任何代码都不相关。 我曾尝试在同事的计算机上运行该项目,但在他的计算机上却没有发生。

The "GenerateAppxPackageRecipe" task failed unexpectedly.
System.ComponentModel.Win32Exception (0x80004005): The specified module 
could not be found
at Microsoft.VisualStudio.AppxPackage.Shared.MrmSupportLibrary.Load(String 
mrmSupportLibraryPath)
at 
Microsoft.Build.AppxPackage.MrmSupportLibraryResourceIndexMap..ctor(String 
mrmSupportLibraryPath, String projectDir, String makePriExtensionPath)
at Microsoft.Build.AppxPackage.ResourceIndexMap.Create(String 
mrmSupportLibraryPath, Boolean useResourceIndexerApi, String projectDir, 
String makePriExtensionPath, ITaskItem[] indexedPayloadFiles)
at 
Microsoft.Build.AppxPackage.GenerateAppxPackageRecipe.ExecuteImplementation()
at Microsoft.Build.AppxPackage.AppxPackagingTaskHelper.Execute(String file)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.Build.AppxPackage.AppxPackagingTaskHelper.Execute(String file)
at Microsoft.Build.AppxPackage.GenerateAppxPackageRecipe.Execute()
at 
Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft
.Build.BackEnd.ITaskExecution 
Host.Execute()
at Microsoft.Build.BackEnd.TaskBuilder. 
<ExecuteInstantiatedTask>d__26.MoveNext()   TabletSignaturePad.UWP          

0 个答案:

没有答案