Build Action , resource (file)

R

Ryan Liu

Hi,

I couldn't find help doc for Build Action properties.

In the drop down list, there are: None, Compile, Content and Embedded
Resource, what are those mean and when to use which one? And how is this
property related to property "Copy to output directory"?

-------
If I have some files like xslt file, file based database(like access or
sqlite) used by the application. I want them to be part of release. Must I
copy them to project root folder? And must/can I include them as
"resource" or just a file in project(I done by show all files in project and
then use "Include in Project" cmd)? Can I "embed" any kind of resource?

Thanks a lot!
Ryan
 
J

j1mb0jay

Hi,

I couldn't find help doc for Build Action properties.

In the drop down list, there are: None, Compile, Content and Embedded
Resource, what are those mean and when to use which one? And how is this
property related to property "Copy to output directory"?

-------
If I have some files like xslt file, file based database(like access or
sqlite) used by the application. I want them to be part of release.
Must I copy them to project root folder? And must/can I include them
as "resource" or just a file in project(I done by show all files in
project and then use "Include in Project" cmd)? Can I "embed" any kind
of resource?

Thanks a lot!
Ryan

Embedded is as it sounds, it allows a resource for example a XML file, or
a set of images to be complied into DLL file. This means the end user
will not be able to see all of the "smaller" files and just the one.

j1mb0jay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top