Confused about BuildAction property

  • Thread starter Thread starter Richard L Rosenheim
  • Start date Start date
R

Richard L Rosenheim

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/default.asp?url=/library/en-us/vbcon/html/vbconfileproperties.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
 
* "Richard L Rosenheim said:
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/default.asp?url=/library/en-us/vbcon/html/vbconfileproperties.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.
 

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

Back
Top