By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,240 Members | 1,519 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,240 IT Pros & Developers. It's quick & easy.

Confused about BuildAction property

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
* "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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.