Error occured validating
I have gone through every website I can find, and the usual answers mention refreshing dependencies (Which I believe fixes it for manual deployment, but not for automatic) and removing the source control coding from the projects, which hasn't helped me.The error does not occur every time I build, but it seems random on different deployment projects each time.If you are still suffering this issue then you can try to change the DWORD value for the following registry value to 0: That error didn't stop me from deploying, building, debugging (or anyting) my project it just annoyed me.the Microsoft Visual Studio 2017 Installer Projects extension now includes a command line helper tool for making the registry setting much easier to apply Microsoft Visual Studio 2017 Installer Projects Example paths of the tool (based on the version of Visual Studio installed) This simple tool is meant to help users set the registry key needed to get around this error that can appear when building installer projects using command line builds: ERROR: An error occurred while validating.
What we do have is a workaround that we believe will work for almost all of them.
So, if your dependencies are valid and you still are getting this problem, then you resolve this if it is a problem with VS2010 .
Basically, if you run MSBuild and see this warning: Then the problem is Visual Studio versioning.
Long story short: it's a known issue, it won't be solved, and Microsoft advises to move away from Visual Studio Setup projects (.vdproj).
We've worked around this issue by triggering the MSI build a second time when it fails a first time.
var microsoft = microsoft