473,386 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Confused about BuildAction property

According to the documentation, the explanation for the Content value of the
BuildAction property is "The file is not compiled, but is included in the
Content output group." I'm quoting from
http://msdn.microsoft.com/library/de...properties.asp

I have an Access database which I want included in the project to use as the
structure for new instances of the database. Therefore, I included the
database in my solution, and set its BuildAction value to "Content". Yet,
when I build the solution, the file is not copied to the bin folder with the
executable.

Am I going something wrong? Misunderstanding the meaning of "included in
the Content output group"? Is there a bug with VS2003?

TIA,

Richard Rosenheim
Nov 20 '05 #1
2 1807
* "Richard L Rosenheim" <ri*****@rlr.com> scripsit:
According to the documentation, the explanation for the Content value of the
BuildAction property is "The file is not compiled, but is included in the
Content output group." I'm quoting from
http://msdn.microsoft.com/library/de...properties.asp

I have an Access database which I want included in the project to use as the
structure for new instances of the database. Therefore, I included the
database in my solution, and set its BuildAction value to "Content". Yet,
when I build the solution, the file is not copied to the bin folder with the
executable.

Am I going something wrong? Misunderstanding the meaning of "included in
the Content output group"? Is there a bug with VS2003?


Misunderstanding. The build action is used to determine what to include
in a setup package, not what to copy over to the "bin" folder.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
Thanks for the clarification.

Richard Rosenheim
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uk*************@TK2MSFTNGP11.phx.gbl...
* "Richard L Rosenheim" <ri*****@rlr.com> scripsit:
According to the documentation, the explanation for the Content value of the BuildAction property is "The file is not compiled, but is included in the Content output group." I'm quoting from
http://msdn.microsoft.com/library/de...properties.asp
I have an Access database which I want included in the project to use as the structure for new instances of the database. Therefore, I included the
database in my solution, and set its BuildAction value to "Content". Yet, when I build the solution, the file is not copied to the bin folder with the executable.

Am I going something wrong? Misunderstanding the meaning of "included in the Content output group"? Is there a bug with VS2003?


Misunderstanding. The build action is used to determine what to include
in a setup package, not what to copy over to the "bin" folder.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #3

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

Similar topics

0
by: Neil Moss | last post by:
Hi all Can anyone tell me if .resx files ignore the BuildAction property? I have two resx files in my project, and I wish to choose which one is actually compiled into my executable. So, I set...
6
by: Louise | last post by:
I use Visual Basic .NET Framework 1.1, Visual Studio. I have a Web page (aspx) referencing a control (ascx) that has a placeholder that is assigned one of 2 child controls through buttons. The...
3
by: C CORDON | last post by:
I am verry confused about classes. I understand that classes can encapsulate properties, methods, events (don't know hoy to add events to a class), etc. I am confused with this: if you can...
13
by: Marvin | last post by:
Hi: I have been programming with OOP and C++ for over 10 years but I am new to javascript. I am very confused about one aspect and would appreciate it if someone could explain the differences...
3
by: redefined.horizons | last post by:
I've been reading about Python Classes, and I'm a little confused about how Python stores the state of an object. I was hoping for some help. I realize that you can't create an empty place holder...
2
by: Petded | last post by:
Hi, i found this extract regarding vc++.net express edition from MS. Quote: Make certain that you edit the Text property and not the (Name) property beneath the Design category, which also...
7
by: AMP | last post by:
Hello, I have this in form1: namespace Pass { public partial class Form1 : Form { public Form2 form2; public Form1() {
0
by: Peter | last post by:
Hi, I have a problem with Listview using checkboxes. If i check items by code BEFORE the form is shown the Listview.Items are confused during the ItemChecked Event !!! After showing the...
2
by: Peter | last post by:
Hi, I have a problem with Listview using checkboxes. If i check items by code BEFORE the form is shown the Listview.Items are confused during the ItemChecked Event !!! After showing the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
Oralloy
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,...
0
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...

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.