ISharePointProjectPackage.Validate Method    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Runs design-time validation on the package and updates the IDE error list.
public:
 bool Validate();public bool Validate();abstract member Validate : unit -> boolPublic Function Validate () As BooleanReturns
True on successful validation; false if errors occur.