Visual Studio IDE Problem with Compact Framework 3.5


Mehmet AVÞAR

Hi all,

I'm facing a strange problem nowadays. On Visual Studio 2008, when I
create a new smart device application project on CF 3.5, development
environment (toolbox, form designer etc.) is created just like they
are in Windows Forms application. I also have CF 2.0 installed, and I
have no problem with it. I mean, an emulator skin is displayed on
forms designer if I use CF 2.0.

Under the VS menu, Tools > Options> Device Tools, 'Show skin in
Windows Forms Designer' is checked.

This causes another problems in junction. For example, when I drag and
drop a MainMenu component to the form, in the designer it adds
component class' constructor method with 1 arguments, which is invalid
for CF. In short, when I create a new project and try to build it just
as it's created, it fails saying "MainMenu does not contain a
constructor that takes '1' argument". Same problem exists for Form,
Combobox etc. Designer creates the code as it's a desktop application,

Additionally, my development machine have the following tools
installed: .Net Framework 3.5 SP1, Microsoft Device Emulator Version
3, MS Windows SDK for PPC 2002, Microsoft Pocket PC 2003 SDK, Windows
Mobile 5.0 SDK R2 for Pocket PC, Windows Mobile 6 Professional SDK,
Virtual PC 2007.

There is a screenshot of mentioned Visual Studio environment at the
URL below:

I've tried reinstalling CF 3.5 and installing SP1 for VS 2008.

Any help is appreciated.

Mehmet AVSAR

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question