pre/post build commands

  • Thread starter Thread starter z f
  • Start date Start date
Z

z f

Hi,

i have a VB.NET web application.
i need to configure pre/post build commands.
is this possible?
i need to copy file before compilation and
copy file after compilation.
(this is because i can't compile to a bin directory that is not under the
proejct folder.)

TIA.
 
z f wrote:
[snip]
I don't understand this comment:
(this is because i can't compile to a bin directory that is not under the
proejct folder.)

I have several projects which compile to, for instance "../bin", where,
for instance, I am writing a project and have a number of plugins as
seperate projects within the same solution - I want all of the plugins
to be in the bin directory of the main project when I'm debugging...

Damien
 
maybe the source safe makes this restriction?
the visual studio don't allow writing a compile directory that is not under
the project folder.

Damien said:
z f wrote:
[snip]
I don't understand this comment:
(this is because i can't compile to a bin directory that is not under
the
proejct folder.)

I have several projects which compile to, for instance "../bin", where,
for instance, I am writing a project and have a number of plugins as
seperate projects within the same solution - I want all of the plugins
to be in the bin directory of the main project when I'm debugging...

Damien
 
You can use build events to specify commands that run before the build starts, before the link process, or after the build finishes. To set the same, open the project property pages and choose the Build Events folder on the left pane of the dialog. You can even configure if you want to consume these events only on Successful Build or Always using one of the options on the same dialog.

HTH, Metallikanz!
 
Back
Top