Recipe Framework Error

Topics: CAB & Smart Client Software Factory
Feb 1, 2007 at 6:37 PM
I'm getting these errors everytime I try to add a new presenter/view:

Microsoft.Practices.RecipeFramework.RecipeFrameworkException: Cannot determine if target is valid because a reference threw an exception from its IsEnabledFor implementation. ---> System.InvalidCastException: Unable to cast COM object of type 'System._ComObject' to interface type 'VSLangProj.VSProject'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{2CFB826F-F6BF-480D-A546-95A0381CC411}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (ENOINTERFACE)).
at Microsoft.Practices.GuidanceAutomation.SmartClient.References.ViewTemplateReference.ContainsReference(Project project, String referenceIdentity) in c:\Dev\scbat\GuidanceAutomation\SmartClientDevelopment\References\ViewTemplateReference.cs:line 59
at Microsoft.Practices.GuidanceAutomation.SmartClient.References.ViewTemplateReference.ContainsRequiredReferences(Project project) in c:\Dev\scbat\GuidanceAutomation\SmartClientDevelopment\References\ViewTemplateReference.cs:line 51
at Microsoft.Practices.GuidanceAutomation.SmartClient.References.ViewTemplateReference.IsEnabledFor(Object target) in c:\Dev\scbat\GuidanceAutomation\SmartClientDevelopment\References\ViewTemplateReference.cs:line 28
at Microsoft.Practices.RecipeFramework.VisualStudio.Library.SolutionPickerControl.Initialize(DTE dte, IUnboundAssetReference reference, Object currentValue, Type valueType)
--- End of inner exception stack trace ---
at Microsoft.Practices.RecipeFramework.VisualStudio.Library.SolutionPickerControl.Initialize(DTE dte, IUnboundAssetReference reference, Object currentValue, Type valueType)
at Microsoft.Practices.RecipeFramework.VisualStudio.Library.SolutionPickerControl..ctor(DTE dte, IUnboundAssetReference reference, Object currentValue, Type valueType)
at Microsoft.Practices.RecipeFramework.VisualStudio.Library.SolutionPickerForm..ctor(DTE dte, IUnboundAssetReference reference)
at Microsoft.Practices.RecipeFramework.VisualStudio.SolutionPackagesContainer.SelectTarget(IWin32Window ownerWindow, IUnboundAssetReference forReference)
at Microsoft.Practices.RecipeFramework.VisualStudio.ToolWindow.GuidanceNavigatorControl.ExecuteReference(IAssetReference reference)

Can someone please help? I have a colleague that is receiving the same thing on a similar machine.

System Details:
OS 64bit XP Pro
Quad Xeon Duo Core

Thanks,
Fred