本文介绍了无法构建MSI项目,因为UWP依赖项:Windows.winmd和System.Runtime.WindowsRuntime.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!我们有Windows诊断应用程序,我们已经实现了蓝牙功能。我们在Windows.winmd 的帮助下编写了我们的代码。和System.Runtime.WindowsRuntime.dll。但是这些库不是.NET经典的。我们发现这个DirectWindowsWinmd.Net
NuGet包实现了这两个依赖项进入包文件夹(不在WindowsKits文件夹中)的目标。我们问题的第一部分已经解决了。下一步是正确构建MSI项目。现在添加此依赖项后,我有下一个
错误: 


错误:验证时发生错误。  HRESULT ='80070057'

错误:验证时发生错误。  HRESULT ='80070057'


你能帮我解决这个问题吗?


这只会在添加这些依赖项后发生。有可能解决这个问题吗?谢谢!


  

解决方案

Hi! We have Windows diagnostic application and we've already implemented bluetooth feature. We wrote our code with the help of Windows.winmd  and System.Runtime.WindowsRuntime.dll. But these libraries are not .NET classic. We found this DirectWindowsWinmd.Net NuGet package to achieve the goal that this two dependencies were into package folder (not in WindowsKits folder). First part of our problem was solved. The next one is to build MSI project correctly. After adding this dependencies now I'm having the next errors: 

ERROR: An error occurred while validating.  HRESULT = '80070057'
ERROR: An error occurred while validating.  HRESULT = '80070057'

Could you help me to deal with this?

This only occurs after adding this dependencies. Is it possible to resolve this problem? Thank you!

  

解决方案


这篇关于无法构建MSI项目,因为UWP依赖项:Windows.winmd和System.Runtime.WindowsRuntime.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 12:37