Error in Visual Studio 2013 Run Custom Tool( Sharepoint project)

Jan 18 at 9:40 AM
When change the ascx file in Sharepoint Project build it again we get build errors . Custom tool SharePointWebPartCodeGenerator failed Operation is not valid due to current state of the object.

I have Visual Studio 2013 Professional installed.

Please advise if CKS will help in this case?
Jan 19 at 10:50 AM
I have SharePoint 2013 Installed does this tool solve the below issue

When change the ascx file in Sharepoint Project build it again we get build errors . When we run custom tool it gives
Custom tool SharePointWebPartCodeGenerator failed Operation is not valid due to current state of the object.