PC Review


Reply
Thread Tools Rate Thread

Creating a PocketPC project without the wizard?

 
 
TimRegan
Guest
Posts: n/a
 
      19th Sep 2003
Hi All,

I'm trying to use Visual Studio .Net to create an application for the
Pocket PC 2002. Following Petzold, I'd like to at least know how to do
this without wizards, but I cannot find how to get the required
properties options to appear. I.e. there is no "Device" group under
"Common Properties" in the project property pages.

Indeed, the project created with the "Smart Device Application"
template has the categories "General", "Reference Path", and "Devices"
under "Common Properties" in the project property pages, while the
project created with the "Empty Project" template has the categories
"General", "Designer Defaults", "Reference Path", and "Build Events"
under "Common Properties" in the project property pages. Very
different.

How do I set the deployment device of a project created with the
"Empty Project" template, and how do I ensure it is using the .Net
Compact Framework?

Thanks for your time.

Tim.
 
Reply With Quote
 
 
 
 
Benjamin Wulfe
Guest
Posts: n/a
 
      19th Sep 2003
The project systems for the compact framework and the regular framework are
different.
So, if you create a desktop C# windows application, you cannot set a few
properties and turn it into a device project. You need to start by
creating a device project in the first place (using the "Smart Device
Application" wizard).

Now, if you want to create a project template, you can do this just as you
would with a desktop project. You can use a sample project and have it
appear in the New Project Dialog. If you are a VSIP customer, there is
plenty of help on how to do this. Look for help on "vsdir" files and
"project templates".

Alternatively, if you don't want to use visual studio, you can simply
compile on the command line using the C#/VB compilers. There are a few
switches you need to use -- such as "nostdlib" and "usecompactframework"
and pass in mscorlib as well as all other references.

-Ben

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: (E-Mail Removed) (TimRegan)
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: Creating a PocketPC project without the wizard?
| Date: 19 Sep 2003 00:55:18 -0700
| Organization: http://groups.google.com/
| Lines: 23
| Message-ID: <(E-Mail Removed)>
| NNTP-Posting-Host: 213.199.144.166
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1063958119 8286 127.0.0.1 (19 Sep 2003
07:55:19 GMT)
| X-Complaints-To: groups-(E-Mail Removed)
| NNTP-Posting-Date: 19 Sep 2003 07:55:19 GMT
| Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!newsfeed.icl.net!newsfeed.fjserv.net!news-out1.nntp.be!propagator2-ster
ling!news-in-sterling.nuthinbutnews.com!cyclone.bc.net!sjc70.webusenet.com!n
ews.webusenet.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!sn-xit-09!supernew
s.com!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:33896
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Hi All,
|
| I'm trying to use Visual Studio .Net to create an application for the
| Pocket PC 2002. Following Petzold, I'd like to at least know how to do
| this without wizards, but I cannot find how to get the required
| properties options to appear. I.e. there is no "Device" group under
| "Common Properties" in the project property pages.
|
| Indeed, the project created with the "Smart Device Application"
| template has the categories "General", "Reference Path", and "Devices"
| under "Common Properties" in the project property pages, while the
| project created with the "Empty Project" template has the categories
| "General", "Designer Defaults", "Reference Path", and "Build Events"
| under "Common Properties" in the project property pages. Very
| different.
|
| How do I set the deployment device of a project created with the
| "Empty Project" template, and how do I ensure it is using the .Net
| Compact Framework?
|
| Thanks for your time.
|
| Tim.
|

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VS 2005: Smartphone-Project to work on PocketPC (WM 5.0) Kenny Rymes Microsoft Dot NET Compact Framework 4 5th Apr 2006 09:27 AM
How to turn project's target from PocketPC to WinCE? datamodel Microsoft Dot NET Compact Framework 6 30th Dec 2005 11:33 AM
PocketPC project ... Jacek Jurkowski Microsoft C# .NET 0 31st Oct 2004 07:09 PM
Why CAB's for MIPS, SH3 in PocketPC-Project? Microsoft Dot NET Compact Framework 1 23rd Feb 2004 09:54 AM
RE: Same project for CE.net 4.1 and PocketPC 2002 Mark Ihimoyan [MSFT] Microsoft Dot NET Compact Framework 1 8th Sep 2003 02:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:26 AM.