An error occurred while validating hresult setup project
Alternative Reason My problem had to do with Visual Studio versioning, however.
So, if your dependencies are valid and you still are getting this problem, then you resolve this if it is a problem with VS2010 .
I simply searched all files in my project for Tools Version=”4.0″ and found the offending .csproj file, opened it in a text editor and manually changed the 4.0 to a 3.5.
I read this answer from another post on Stackoverflow and it has worked for me.
open your setup project file (.vdproj) in notepad (or any other text editor) delete these lines at a beginning of the .vdproj file: build again – error is gone That error didn’t stop me from deploying, building, debugging (or anyting) my project it just annoyed me.
And it came on even if I set all projects to be build in a current configuration and the setup project not to.
However, it has suddenly started refusing to build with the error: HRESULT = ‘80004005’ The setup project contains the output from thre An error occurred while validating.
For Adobe flash player , I have implemented a jar named Summary: unload any Visual Studio 2010 project in solution. Both of the reasons I found are already in other answers, but they are in separate answers and not fully explained.So, hopefully this will combine the possibilities and give good means of debugging each.The error can almost always be resolved by forcing another build manually.
That's a real pain; naturally I'd like to automate it.The error message “An error occurred while validating.HRESULT=80004005.” usually happens when project is referenced to the other project which is not added into the currect [sic] solution.This is the code: xml = REXML:: Document.new(data) @contacts = xml.elements.each(‘//entry’) do |entry| person = person[‘name’] = entry.elements[‘title’]gd_email = entry.elements[‘gd Getting ‘An internal error occurred during: “Compacting resource model”.’ when building a project in eclipse indigo I am getting the following error when building a project in eclipse indigo: An internal error occurred during: Compacting resource model. I have the problem, that I get the following error message, if I execute the Eclipse IDE option project / clean: An internal error occurred during: Validating my_maven_lang.