Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.

Quote:
------ 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 ==========


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.
Posted
Updated 19-Jun-18 1:14am
v2
Comments
Jochen Arndt 19-Jun-18 6:56am    
All I can give you is the description for the error code 0x80070057:
E_INVALIDARG, "One or more arguments are invalid".

You should try to find out which (Windows system) function returns the error and then check the passed parameters after reading the documentation for that function.

1 solution

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...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900