Posted 14 years ago
by Mike Ackerman
I'm attempting to convert my application from .NET 3.5 to .NET 4.0. In doing so I've upgraded my wizard to the latest version and am now getting an error at compile time:
"Cannot add content to object of type 'ActiproSoftware.Windows.Controls.Wizard.Wizard'"
My code is:
<wizard:Wizard x:Name="Wizard" BackButtonVisible="False" NextButtonVisible="False" HelpButtonVisible="False"
FinishButtonVisible="False" CancelButtonVisible="False" SelectedPageChanged="Wizard_SelectedPageChanged"
NavigationCommandsEnabled="False" Focusable="False" PageSequenceType="Stack"
BackwardProgressTransitionDuration="0:0:0.1" ForwardProgressTransitionDuration="0:0:0.1" TransitionDefaultDirection="Forward" >
<wizard:WizardPage x:Name="BlankPage" Focusable="False" />
</wizard:Wizard>
And the error occurs on the line where I add the WizardPage.
I've changed my project assembly to point to .NET Framework 4.0 and added the new CodeSigned assembly references to my solution.
Any ideas?
"Cannot add content to object of type 'ActiproSoftware.Windows.Controls.Wizard.Wizard'"
My code is:
<wizard:Wizard x:Name="Wizard" BackButtonVisible="False" NextButtonVisible="False" HelpButtonVisible="False"
FinishButtonVisible="False" CancelButtonVisible="False" SelectedPageChanged="Wizard_SelectedPageChanged"
NavigationCommandsEnabled="False" Focusable="False" PageSequenceType="Stack"
BackwardProgressTransitionDuration="0:0:0.1" ForwardProgressTransitionDuration="0:0:0.1" TransitionDefaultDirection="Forward" >
<wizard:WizardPage x:Name="BlankPage" Focusable="False" />
</wizard:Wizard>
And the error occurs on the line where I add the WizardPage.
I've changed my project assembly to point to .NET Framework 4.0 and added the new CodeSigned assembly references to my solution.
Any ideas?