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.
|