Just selet the project as a windows CE5.0 device, if it is not selected already, and then build.
You can select debug or release.
Thats pretty much it.
To get the remote debugging working you need have a folder on your box called \hard disk\win
with the files for remote debugging in there, I will upload them soon so they are easier to find.
In visual studio, click device options, then select wince 5.0 device.
Click properties.
on the TCP transport connect, select configure.
Click specify an IP address, and put the boxes IP in there.
Hopefully once the box has booted up BooterCE, and loaded the files you should be able to connect.
You can use attach to process, to debug tv2client if you have assembled it with the /PDB switch. Then you can load the symbol pdb file and set breakpoints, view variables etc.
files are here:
http://www.t-hack.com/wiki/index.php/Debug_Files_for_remote_debuggingMick