I have a pocketPC project in c# (visual studio 2005) I want to make base form and child form from the base form when I do that I see this: "visual inheritance is currently disabled because the base class references a device-specific component or contains p/Invoke"
Had the same problem. Go to your base form (which is inherited) and view a class diagram. Select the base form class shape and go to properties window, click on CustomAttributes, a window comes up, just add this line in it:
DesktopCompatible(true)
and rebuild application, it should display forms fine in designer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With