C# Project in Platform Builder 6.0

I have a C# application that I need to include in a WinCE 6.0 project using Platform Builder. I have tried 2 routes:

1. Create a "sources" file for the project. This has met with limited success. I can successfully compile the project, it gets built and included in the NK.BIN file and is present on the target device when I boot it up. The problem is that resources defnied in the *.resx files are not finding their way into the executable. I have tried every documented sources variables with no success. I've also tried some undocumented variables gleaned from makefile.def, but still no luck. Does anyone have an idea

2. Create a modified makefile to build the executable. This doesn't seem to work at all and the CE build process appears to just completely ignore the target. Any ideas

Does anyone have experience rolling C# projects into CE Platform Builder 6.0 projects

Thanks,

Greg



Answer this question

C# Project in Platform Builder 6.0

  • Steven Hawkes

    CE 6.0 Platform Builder has changed significantly. Not the least of which is that it is now a plugin to VS2005 instead of a stand-alone product. (Also lots of bugs and documentation mismatches.) CE 6.0 is *supposed* to be able to include C# projects. If can indeed include C# subprojects. It just doesn't seem to be able to build C# programs that include resx source files.

    I guess I'll just have to do it as a subproject and ignore it being put in the wrong place in the hierarchy.

    Thanks for your help.

    Greg


  • foolsid

    Have you tried file/new project to add a project to your Platform Builder workspace

  • DOSST

    My experience has been with WinCE 5; with which I was unable to do much more than a "Hello world" application within Application Builder. I'm working outside of Application Builder in eMbedded C++ and Visual Studio.

  • Sarah_

    Thanks for your suggestion of using the subproject approach. The "subproject" method appears to work. I was hoping to be able to use the "sources" file and have it build inline with associated files.

    I've tried using the WINCETARGETFILE0 macro to specify the resources files and then create a makefile.inc to specify the resx to resources mappings. Unfortunately, the build system appears to be ignore this completely and just warns me that the resources file does not exist.

    Greg


  • C# Project in Platform Builder 6.0