This article will explain why the context menu maybe disabled.
If SPCAF context menu appears disabled in Visual Studio, then you might either have no SharePoint project selected or you are experiencing a historic bug, which caused the context menu to appear disabled when a solution has unloaded projects.
Update to release 4.0.7.1026 or higher to fix this issue.