473,830 Members | 2,135 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Build Action , resource (file)

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
Jun 27 '08 #1
1 3551
On Sun, 25 May 2008 02:20:41 +0800, Ryan Liu wrote:
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
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2445
by: Phil Powell | last post by:
Consider this: class ActionHandler { /*------------------------------------------------------------------------------------------------------------------------------------------------------------------- This class will be a singleton class structure by calling its constructor by reference only (prefixed by '&'). Is primarly used to reference its errorArray Array property as a single reference to allow for static usage
7
2917
by: longtungd1 | last post by:
I'm currently taking a Visual C++ course. I have C++ version 6.0 on my machine. I set up a basic program per course instructions to simply create a window with default toolbar, etc., using App Wizard and ran build from the menu to create the .exe. Got following output: --------------------Configuration: sam - Win32 Debug--------------------
4
13937
by: Rob Tillie | last post by:
Hello, I want an xml file, part of the project, be included in the build so that it gets to debug/bin. I already set the build action "content", which describes what I want, but vs.net doesn't deploy it. Anyone got an idea? Greetz,
9
1763
by: dale zhang | last post by:
Hi, Anybody here has experience to build a english/chinese web? The chap 15 in Developing Web Applications tells sth about how to do this, but I want to know more details. It seems detect and redirect are the way for me to do this. Does this mean I have to have image button on the main page to link to chinese pages? all chinese pages will duplicate english ones? the following is from the book,
2
4490
by: guoqi zheng | last post by:
Hi, I am using resource file for multi lingual content web site. By default, resource files are built into .dll files which is fine, but what I want is that I can edit those content without have to re compile the whole projects, so it means that I want those resource file to be pure XML file there for me to edit. Is it possible to do this?
1
3362
by: urban.john | last post by:
Here are my steps: create resource files from resx files: <echo message="CREATING RESOURCE FILES FROM RESGEN EN" /> <resgen todir="product\resources_en" verbose="true"> <resources> <include name="${AppName}\**.en.resx" /> <include name="${AppName}\Global.asax.resx" /> </resources>
1
2076
by: Fredrik Jansson | last post by:
Hi! I have a Webapp (c#) in VS 2005. I am trying to embed nhibernate xml files. When I check properties of a xml file I only see "File Name" and "Full Path" and cannot set build action to embedded resource. Have anyone else seen and solved this? Kind regards,
1
6596
by: Ryan Liu | last post by:
"j1mb0jay" <j1mb0jay@uni.ac.ukдÈëÏûÏ¢ÐÂÎÅ:s0dmg5x4el.ln2@news.aber.ac.uk... Thanks, j1mbjay. Then what is the difference betweeen "Content" and "Embedded"? What is the difference between put a file in Resource (folder) or just in project? Thanks!
14
11810
by: yxq | last post by:
Hello, I want to build the multi-language application with the xml file, how to do? could anyone tell a sample? Thank you
0
9791
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10487
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9313
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7745
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6950
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5617
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3958
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3076
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.