This page explains how to solve the below error message :
Cannot find CAST Script file for the module named 'xxxx'
The preprocessing of the CAST Script file
'<CASTSCRIPT PATH>\<Name CastScript File>.castscript' has failed.
Verify that use statements reference a correct module name.
This error message occurs when the analyzer is not able to find a castscript file that has been defined in the application.