"j1mb0jay" <j1******@uni.ac.uk写入消息新闻:s0************@new s.aber.ac.uk...
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
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! 1 6568
On Sun, 25 May 2008 09:01:30 +0800, Ryan Liu wrote:
"j1mb0jay" <j1******@uni.ac.uk>
脨沤脠毛脧没脧垄脨脗脦脜:s0************@news.aber. ac.uk...
>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
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!
I think that Content means that when you compile the program you will
have a copy of that file in the Release folder, for embedded the file
will become part of DLL and you will not see it in the Release folder.
This is from memory, be sure you try and test it !!
j1mb0jay This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Phil Powell |
last post by:
Consider this:
class ActionHandler {
...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Ryan Liu |
last post by:
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...
|
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
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
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...
| | |