Compile Failed because of build files.

What does the output window show? It usually has more in depth information than just the pure error.

Compile errors are usually due to .Net versions, old versions of MSVC or corrupt windows SDK