Visual Studio Net Setup

There are two different ways to configure a VS.net

1. Through settings
To create a project for an application run on the Gizmondo:

  1. Create new "Smartdevice Project" for the PPC2003 Platform
  2. Save and Close Project
  3. Manually edit the project file (normally .csproj for C# projects): [Change the processor from ARM to ARM_THUMB]

<Configuration Name="Debug|Pocket PC 2003 (ARMV4)">

<Tool Name="VCCLCompilerTool"

PreprocessorDefinitions="DEBUG;ARM;_ARM_;ARMV4I;UNDER_CE=$(CEVER);_WIN32_WCE=$(CEVER);$(CePlatform);UNICODE"
RuntimeLibrary="1"
BufferSecurityCheck="false"

/>
<Tool Name="VCResourceCompilerTool"

PreprocessorDefinitions="UNDER_CE=$(CEVER),_WIN32_WCE=$(CEVER),UNICODE,_UNICODE,DEBUG,$(CePlatform),THUMB,_THUMB_,ARM,_ARM_,ARMV4I"
/>
<Tool Name="VCLinkerTool"

AdditionalOptions=" /subsystem:windowsce,4.20 /machine:THUMB "
/>

</Configuration>

<Configuration Name="Release|Pocket PC 2003 (ARMV4)"

<Tool Name="VCCLCompilerTool"

PreprocessorDefinitions="NDEBUG;ARM;_ARM_;ARMV4I;UNDER_CE=$(CEVER);_WIN32_WCE=$(CEVER);$(CePlatform);UNICODE"
RuntimeLibrary="1"
BufferSecurityCheck="false"

/>
<Tool Name="VCResourceCompilerTool"

PreprocessorDefinitions="NDEBUG;UNDER_CE=$(CEVER),_WIN32_WCE=$(CEVER),UNICODE,_UNICODE,DEBUG,$(CePlatform),THUMB,_THUMB_,ARM,_ARM_,ARMV4I"
/>
<Tool Name="VCLinkerTool"

AdditionalOptions=" /subsystem:windowsce,4.20 /machine:THUMB "
/>

</Configuration>

Note from Daniel:
If the linker complains about missing _vtable stuff, also add Ccrtrtti.lib to the linker dependencies (this file is missing in the PPC2003 SDK and you might have to download that file from the web).

Rumored to be in the next KingCDR SDK Release

Second, through reventing an incompatible .net cf upgrade and designing for Windows CE 5 (untested)
Developing .NET Compact Framework applications for Windows CE 4.2 Devices.

Credits: Daniel and KingCDR

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.