I'm running into the error in the subject and I've tried to fix it for hours now but with no result so far.
I have a Visual Studioproject wizard (Create new project - select project template) and I want to implement this wizard into my software factory.
I'm kind of know my way arround in the GAT but I can't seem to fix this.
In the recipe I've specified the custom wizard page. like this:
<GatheringServiceData>
<Wizard xmlns="
http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
<Pages>
<Page Type="MyProject.CustomWizardPages.MyWizardPage,MyProject" />
</Pages>
</Wizard>
</GatheringServiceData>
I know the references are ok, otherwise I would get a different error.
So it looks like the runtime cannot find the constructor, while I can verify it is there and marked public.
Could it be it has something to do with the fact that the custom page doesn't inherit from "CustomWizardPage" but from"Microsoft.BizTalk.Wizard.WizardPage"?
Anyone?
The complete exception is this:
Microsoft.Practices.WizardFramework.WizardExecutionException: The wizard failed to execute. The error was:
Cannot create WizardPage , Constructor on type 'MyProject.CustomWizardPages.MyWizardPage' not found.. ---> Microsoft.Practices.WizardFramework.WizardFrameworkException: Cannot create WizardPage , Constructor on type'MyProject.CustomWizardPages.MyWizardPage' not found.. ---> System.MissingMethodException: Constructor on type 'MyProject.CustomWizardPages.MyWizardPage' not found.
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Microsoft.Practices.WizardFramework.WizardForm.CreateWizardPage(Page page)
--- End of inner exception stack trace ---
at Microsoft.Practices.WizardFramework.WizardForm.CreateWizardPage(Page page)
at Microsoft.Practices.WizardFramework.WizardForm.EndInit()
at Microsoft.Practices.WizardFramework.WizardForm..ctor(IServiceProvider provider, Wizard wizardConfig, String basePath)
at Microsoft.Practices.WizardFramework.WizardForm..ctor(IServiceProvider provider, Wizard wizardConfig)
at Microsoft.Practices.WizardFramework.WizardGatheringService.Microsoft.Practices.Common.Services.IValueGatheringService.Execute(XmlElement data, Boolean allowSuspend)
--- End of inner exception stack trace ---
at Microsoft.Practices.WizardFramework.WizardGatheringService.Microsoft.Practices.Common.Services.IValueGatheringService.Execute(XmlElement data, Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(IAssetReference reference)
at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()
at Microsoft.Practices.RecipeFramework.AssetReference.Execute()
at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec()
at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()