I’ve got the following error while I wanted to compile a BizTalk Server Project:
Build failed. Compiler for file type ‘*.xsd’ failed. Value cannot be null. Parameter name: pUnk“
The error occurs if there is any *.xsd file added to the project.
I don’t know what caused the problem but I did a repair on the BizTalk installation and the problem was gone.
- Click Start, click Run, type Appwiz.cpl and then click OK.
- In the list of currently installed programs, click Microsoft BizTalk Server 2006 (or 2004), and then click Change/Remove.
- In the BizTalk Server 2004 Installation Wizard window, click Repair and then click Next.
- After the BizTalk Server Installation Wizard repairs BizTalk Server, click Finish to close the BizTalk Server Installation Wizard window.