Re: Deploying content files
From: dtaylor (anonymous_at_discussions.microsoft.com)
Date: 04/29/04
- Next message: Jon Skeet [C# MVP]: "Re: What are the steps to making an MSI?"
- Previous message: Terry Westley: "Re: Deploying OpenNetCF.org Smart Device Framework"
- In reply to: Malcolm: "Re: Deploying content files"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 29 Apr 2004 09:28:57 -0700
Thanks Malcolm for your reply. I did have the action set
to content. It is reading the ini file now. This is
strange.
Here's some settings in my INISettings Class.
?_AppName
"PocketPCApp1"
?_fileName
@"\Windows\Start Menu\PocketPCApp1.txt"
If I use the PPC file explorer and navigate to
Windows\Start Menu I see my application executable, but I
do not see the .txt file.
If I use the PPC and do : Start, Programs, I see an Icon
for the PocketPCApp1.txt and if I tap on it, it opens the
file as expected with Pocket Word.
I don't want it to show up when the user is viewing the
Programs window. Everytime I build and deploy my app
from VS, it puts another PocketPCApp1.txt(1) etc out
there. Now my About box is running fine. Which means
the file opened using the path above(?), but I don't see
the file in this path. I can't figure this out. I'll
check out the add in mentioned below. Thanks!
Donna
>-----Original Message-----
>Choose the file in the solution and in the properties
box select build
>action "Content". I suspect you have it set to "None" at
the moment.
>
>In a full .NET solution the files marked as content are
not copied to the
>build directory. Use the add in on might site for that:
>http://www.dcs.gla.ac.uk/~hall/personal/stuff.htm
>
>
>On Wed, 28 Apr 2004 14:44:56 -0700, dtaylor
><anonymous@discussions.microsoft.com> wrote:
>
>> In my .NETCF application I have created an equivelent
to
>> an INI file. It's file type is .txt. I'm using it to
>> read in application configuration settings as described
>> in "The definitive Guide to the .NET Compact
Framework".
>> I just used VS2003.NET to deploy my application (which
I
>> have set to go to the Windows\Start Menu folder) and I
>> have successfully deployed it on two new HP/IPAq
>> devices. The .txt file shows up in my Program window
and
>> when I browse to the Windows\Start Menu folder the .txt
>> file isn't there and my application is not displaying
>> my "about box" info which is read from that file
>> (although it's not throwing any errors either).
>> How do you force content files to deploy to the same
>> directory as the application? (using the Build, Deploy
>> Solution method).
>
>
>
>--
>Using M2, Opera's revolutionary e-mail client:
http://www.opera.com/m2/
>
>
>x-- 100 Proof News - http://www.100ProofNews.com
>x-- 3,500+ Binary NewsGroups, and over 90,000 other
groups
>x-- Access to over 1 Terabyte per Day - $8.95/Month
>x-- UNLIMITED DOWNLOAD
>
>.
>
- Next message: Jon Skeet [C# MVP]: "Re: What are the steps to making an MSI?"
- Previous message: Terry Westley: "Re: Deploying OpenNetCF.org Smart Device Framework"
- In reply to: Malcolm: "Re: Deploying content files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|