Sharepoint 2010 Build Error: Failed to extract the cab file in the solution

As usual we faced some problems in SharePoint 2010 during building without more clarification or description to know what is the error message means?  so you have to investigate and search by yourself which part of the solution this problem? How to fix it?

but furthermore i am still like Microsoft :)

Error Message: Error occurred in deployment step 'Add Solution': Failed to extract the cab file in the solution.

This happen with me during deployment because there is image name in my layout folder contain brackets like "add(2).png" So you have to check if you have any files with special characters including brackets ' copy (2) filename ' and remove them.

Solution: To work around this problem, remove any parentheses in the names of SharePoint project items.


Here’s a list of some problems:
http://msdn.microsoft.com/en-us/library/ee330922.aspx