An error occurred while validating 80004005
I simply searched all files in my project for In my case my solution (VS2008) had a project that was also referenced from another solution (VS2010).In the VS2010 solution I had upgraded the project to . When I later realized the project was also used in another solution I downgraded it to . For some reason everything seemed to be changed correctly in the csproj file except one place which is mentioned here: Error in setup project HRESULT = '80004005' I know this is already solved somewhere else but I wanted to shed some light on this from another problem angle.Because of performance issues I changed my solutions back to Visual Studio 2008.
Out-of-date motorists triggers assortment problems which will end result in your computer’s sluggish efficiency. Most common examples include: 1) incomplete software installation; 2) incomplete software uninstallation; 3) improperly deleted hardware drivers, and 4) improperly deleted software applications. Hresult = 80004005 errors are very common during PC restarts that immediately follow a previous improper shutdown and recent virus or malware infection recovery.
:) Common Reason My problem was not a dependency error. So, basically, you need to check your MSI file and make sure that all dependencies are still valid.
Probably the best blog response on how you can easily resolve this if it is a dependency issue is .
I deleted and recreated the reference and it changed the reference name from Microsoft. Core (which was appearently only a 32 bit version) to "OFFICE". -- Make sure to make a note of the path to the file you are referencing in the properties window... When you get no errors and your build fails, check the "Output" tab and it might help.
My new path was exactly the same, but the reference name changed anyway.... I read this answer from another post on Stack Overflow, and it has worked for me.