Daniel,
Thanks for the suggestion. I've taken a look at the workaround sample
and have tried to duplicate it as follows:
1.) Manually edit the project's .csproj file and add the following
lines just prior to the closing </Project> tag:
<!-- To modify your build process, add your task inside one of the
targets below and uncomment it.
Other similar extension points exist, see
Microsoft.Common.targets. -->
<Target Name="BeforeBuild">
<Exec Command=""$(DevEnvDir)..\..\SDK\v2.0\Bin\rc.exe" /I
"$(DevEnvDir)..\..\VC\ce\atlmfc\include" /I
"$(DevEnvDir)..\..\SmartDevices\SDK\PocketPC2003\Include" /d
"_DEBUG" /d "_WIN32_WCE=0x420" /d
"UNDER_CE" /d "WIN32_PLATFORM_WFSP" /d
"_UNICODE" /d "UNICODE" /l 0x409
/fo"$(Win32Resource)" $(ProjectDir)Properties\dapp.rc" />
</Target>
<Target Name="AfterBuild">
</Target>
2.) Create a "Properties" folder within the project folder and add the
following files to it:
ceux.bin
dapp.aps
dapp.rc
3.) Include the "Properties" folder in the project and confirm that the
..rc file looks ok and is editable.
Unfortunately, compilation fails with the following 2 errors:
EXEC : fatal error RC1107: invalid usage; use RC /? for Help
C:\Documents and Settings\Steve Vibert\My Documents\Visual Studio
Projects\CSharp\PocketPC\iTalk\iTalk.csproj(284,3): error MSB3073: The
command ""C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\..\..\SDK\v2.0\Bin\rc.exe" /I "C:\Program Files\Microsoft
Visual Studio 8\Common7\IDE\..\..\VC\ce\atlmfc\include" /I "C:\Program
Files\Microsoft Visual Studio
8\Common7\IDE\..\..\SmartDevices\SDK\PocketPC2003\Include" /d "_DEBUG"
/d "_WIN32_WCE=0x420" /d "UNDER_CE" /d "WIN32_PLATFORM_WFSP" /d
"_UNICODE" /d "UNICODE" /l 0x409 /fo"dapp.res" C:\Documents and
Settings\Steve Vibert\My Documents\Visual Studio
Projects\CSharp\PocketPC\iTalk\Properties\dapp.rc" exited with code 1.
Regards,
Steve