Project Description
A wizard, like CEDriverWiz, that runs from Tools menu, to generate a Managed Code C# OS Subproject. Such projects can be added to the OS and build with the OS.

UPDATE: This project has been usurped by CEESharpWiz, which has an import feature (from Compact 2013 SDK projects AND from Compact 7 Smartdevice Projects!)

https://ceesharpwiz.codeplex.com

V1.4.1 Now Released
  • PBScript bug fixed.

History

Windows CE 4 was called #Windows CE, NET# as it introduced Compact Framework application development to CE. The method has been to develop an OS then an SDK, and then do the Managed Code app development in another instance of Visual Studio to that the OS project. Native code applications could be developed in the OS as subprojects or as SDK projects. What about Managed Code apps as OS subprojects.

There has been an ability to compile Managed Code projects with the OS from CE days, although it has been largely undocumented. There are a couple of pages for doing it with CE 5 and CE6 but it is largely undocumented.

In Compact 7, because of the adoption of a unified build, the OS and Subprojects build with the same engine, it was possible to include an existing Compact Framework in an OS project. See chapter 45 of our book for a discussion of that. With the change of compilers for Compact 2013, that undocumented ability was broken.

Situation

If you open the property pages of an OS (native) Subproject you will see the Managed Code tab. There must be a way to create and build Managed Code apps as subprojects.
  • Create them similar to "Add New Subproject" wizard.
  • Build them and run them as with native code apps.

About WECSharpWiz

WECSharpWiz generates a sources OS Managed Code that can be incorporated directly into a Windows Embedded Compact 2013 OS project as a Subproject.
  • Source code is C# ,, Windows Embedded Compact Sharp (ie WECSharp).
  • The app installs similar to CEDriverWiz in that it uses the PBScripts engine to run in the context of the OS project environment.
  • There is an option to create either a Console app or a Winforms app.
** A later version of this app will support importing an existing SDK Compact Framework app.
  • You can additional form and class pages as well as attach resources such as image files.

ToDos

  • Add more template files, starting with AboutBox Dialog.
  • Implement SDK projects
  • Further facilitate resources

Limitations

  • There is no capability to debug these apps apart from a brute force writeline approach.
  • Whilst the forms page comes with its designer page , generated forms page can't be viewed in a the Visual Editor this making GUI design a bit harder. This also means that the creation of UI component event handlers has to be coded manually.
  • Whilst resource files can be added, resource compilation is not currently supported.
  • Whilst there is an ability to add additional files to a project, there are only two file templates, a blank class and a blank form (with its designer). Subsequent versions will add more templates.
  • Compilation errors when double clicked don't take you to the source code.

Feedback

Please leave comments/reviews (see Discussions) .Thx
  • Is this app useful?
  • Is Import a desirable feature?
  • What item templates would you like?
  • Should VB be supported?
  • Etc.

Last edited May 1, 2014 at 2:11 PM by DJonesEmbedded, version 19