Apologies for not adding more detail. The project I added was another smart
device project of type class library - this was added to my existing
solution. I then deleted the code file Class1.cs and AssemblyInfo.cs from
the project and added my content files with Build Action set to Content.
Then change the device path for the project to \Windows. When you
deploy/debug the main project these files will be deployed at the same
time - don't set this project as the Startup Project - leave that to your
existing application project.
This was done with a C# project, I have not tried it with VB.NET but I
assume the same approach can be used.
I will try to put a more detailed walkthrough of the process up at
www.OpenNETCF.org soon.
Peter
--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com |
www.opennetcf.org
PeterB said:
Hmm, I can't get the new "empty" project to copy it's files to the
device/emulator. I created a Smart Device Application as an Empty Project
and added the files as content. Output directory is \Windows and I have
tried to check build, deploy and none in Config Manager without any success,
and I can't set the project as "Startup project" since there is no entry
point, how do I solve this? What kind of project do you add, I can't
find
a
suitable one :-(
thank in advance,
Peter
Peter Foot said:
Unfortunately when debugging VS.NET can only deploy files within a project
to the application directory on the device/emulator. One trick you can use
is to create an additional project in your Solution - e.g. ProjectContent
and set the OutputFile Folder property to \Windows or wherever you
want
the
files, and add your content files to this project. They will be
deployed
to
the device when you debug the project.
Peter
--
Peter Foot
Windows Embedded MVP
www.inthehand.com |
www.opennetcf.org
That will most likely be good enough, thanks for the idea!
A second question. Using VS .NET 2003 while I am creating my
helpfiles,
is
there a easy way to copy the files to a certain location on the device
when
debugging? I am using [destinationpath] in my .inf file when
creating