Search

Wednesday, February 16, 2011

Build failed due to validation errors in. dbml

Error Build failed due to validation errors in D:\xxx\DB.dbml. Open the file and resolve the issues in the Error List, then try rebuilding the project. D:\xxx\DB.dbml

Causes:-
that its a problem with Visual Studio 2008 not loading an assembly correctly, in particular the one with a GUID of 8D8529D3-625D-4496-8354-3DAD630ECC1B

In order to load the assembly correctly you need to get Visual Studio to reset it's packages.
Solution:
1. Open a new command prompt
2. Navigate to C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE
3. Run Visual Sudio with the /resetskippkgs argument: devenv /resetskippkgs

No comments:

Blog Archive

Contributors