Visual Studio:验证时发生错误。 HRESULT ='80070057' [英] Visual studio : an error occurred while validating. HRESULT = '80070057'
问题描述
我正在使用.NET Framework中的C#控制台应用程序。要部署我的应用程序,我正在使用visual studio安装程序项目。每当我在Visual Studio中构建我的Installer项目时,我得到以下输出。
I'm working on a C# Console Application in .NET Framework. To deploy my application I'm using visual studio installer project. Whenever I build my Installer project in Visual Studio I get the following output.
------开始项目'WinMdmSetup'的预构建验证------
错误:验证时发生错误。 HRESULT ='80070057'
------项目'WinMdmSetup'的预建验证已完成------
1> ----- - Build build:Project:WinMdmSetup,Configuration:Debug ------
========== Build:0成功,1个失败,1个是最新的, 0跳过==========
------ Starting pre-build validation for project 'WinMdmSetup' ------
ERROR: An error occurred while validating. HRESULT = '80070057'
------ Pre-build validation for project 'WinMdmSetup' completed ------
1>------ Build started: Project: WinMdmSetup, Configuration: Debug ------
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
我最近更新到Windows 10新版本1803.我没有遇到这个问题以前的版本。
我尝试了什么:
我做了很多关于谷歌找到问题的根源。 这里我发现了一个小问题。
依据对此,这是因为Windows更新改变了我们的注册表文件。但是,我仍然无法解决它。如果有人可以给我一些方向,那将是一个很大的帮助。
I have recently updated to Windows 10 new build 1803. I was not facing this issue in the previous version.
What I have tried:
I did a lot on google to find the root of Problem. Here I found a little idea for the problem.
According to this, it's because of windows update which changes our registry files. But still, I couldn't solve it. If anyone can give me some direction on it, it will be a great help.
推荐答案
如果解决方案来自您的链接 [ ^ ]不起作用,您必须尝试这样做:。net - 验证时发生错误。 HRESULT ='8000000A' [ ^ ]。在那里你会找到一些提示......
If solution from your link[^] doesn't work, you have to try this: .net - An error occurred while validating. HRESULT = '8000000A'[^]. There you'll find few tips...
这篇关于Visual Studio:验证时发生错误。 HRESULT ='80070057'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!