An error occurred while validating vdproj updating bios help

31 Jan

Long story short: it's a known issue, it won't be solved, and Microsoft advices to move away from Visual Studio Setup projects (.vdproj).

If copied to another machine that did not have Visual Studio 2010, but did have Visual Studio 2008, then it would compile.

I installed Visual Studio 2010 and converted the solutions to that version.

I realized that I had a Visual Studio 2010 Test Project in my solution so all I had to do was unload the Test Project and Build the setup project again.

Summary: unload any Visual Studio 2010 project in solution. I know this is kinda old news, but my particular issue and solution are not specifically stated here (as far as I can tell - if I missed it, I apologize). It would not compile my project, but had no errors. I opened up the "Output" file (Click View-- Output on menu), and it told me exactly which reference (in my case a .dll) was causing the problem.

Basically, if you run MSBuild and see this warning: Then the problem is Visual Studio versioning.

This means that one project was opened or created in Visual Studio 2010 and then saved or added to an existing 3.5 solution.

And it came on even if I set all projects to be build in a current configuration and the setup project not to. Solver for Build Servers On the other hand this code always works for a current user account which launches it (because of HKEY_CURRENT_USER).

But build-servers often use other accounts (Local System or some dedicated account).

Because of performance issues I changed my solutions back to Visual Studio 2008.

Everything was better now but I got an error when I tried to compile the setup project.

What we do have is a workaround that we believe will work for almost all of them.

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.