visual studio 2008 - full framework toolbox instead of compact framework toolbox

230 Views Asked by At

I am trying to create my first project with opennetcf.ioc. I am trying to create SmartPart control that inherits from another SmartPart.

So I create UserControl1 that inherits from OpenNETCF.IoC.UI.SmartPart. Then I create UserControl2 that inherits from UserControl1. And here comes a problem: when designing UserControl2 the compact framework components disappeared from toolbox. Instead there are components from full framework. When I design UserControl1 the compact framework components are available as normal.

How to solve this issue? I have tried:

  • resetting the toolbox
  • deleting the hidden toolbox files
  • resetting VS using the following command: "devenv.exe /setup /resetuserdata"
  • resetting it using "cmd /c start /wait devenv /setup /resetuserdata /selfreg /resetskippkgs"

EDIT: The problem disappears when using Compact Framework 2.0 instead of 3.5.

0

There are 0 best solutions below