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

building projects

P: n/a
Dee
Folks could do with a little bit of help

I am using the dot net framework.

Whenever im working on my project I need to build it to test it.

The problem is that I need to run a batch file before I build my code.

Then for complete testing of the system, I have another batch to run,
to create online help.

I know that I could just do the whole lot from one batch file, and
just call everything I need.
But whenever the ide is open I would rather just set it up to run from
here.
Are there any options for this sort of thing?

Didnt the old visual studio ide allow all sorts of stuff to be done
before and after the build? I dont have much experience with visual
studio.
If so has this functionality been stripped away from the dot net
framework?

Any info is appreciated
Cheers
Dee
Nov 16 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Dee wrote:
I know that I could just do the whole lot from one batch file, and
just call everything I need.
But whenever the ide is open I would rather just set it up to run from
here.
Are there any options for this sort of thing?

Didnt the old visual studio ide allow all sorts of stuff to be done
before and after the build? I dont have much experience with visual
studio.
If so has this functionality been stripped away from the dot net
framework?


You can set prebuild and postbuild events in Project->Properties->Build
Events.

--
Remove SHOES to reply.
Nov 16 '05 #2

P: n/a
like in menu Project > Properties > Common Properties > Build Events?
Uzytkownik "Dee" <da************@hotmail.com> napisal w wiadomosci
news:20*************************@posting.google.co m...
Folks could do with a little bit of help

I am using the dot net framework.

Whenever im working on my project I need to build it to test it.

The problem is that I need to run a batch file before I build my code.

Then for complete testing of the system, I have another batch to run,
to create online help.

I know that I could just do the whole lot from one batch file, and
just call everything I need.
But whenever the ide is open I would rather just set it up to run from
here.
Are there any options for this sort of thing?

Didnt the old visual studio ide allow all sorts of stuff to be done
before and after the build? I dont have much experience with visual
studio.
If so has this functionality been stripped away from the dot net
framework?

Any info is appreciated
Cheers
Dee

Nov 16 '05 #3

P: n/a
Dear,

Pre- and postbuild events indeed solve this issue. In the long run,
however, I believe that NAnt http://nant.sourceforge.net/ is a better
solution.

Regards,
Bart

"Russ Gray" wrote:
Dee wrote:
> I know that I could just do the whole lot from one batch file, and
> just call everything I need.
> But whenever the ide is open I would rather just set it up to run from
> here.
> Are there any options for this sort of thing?
>
> Didnt the old visual studio ide allow all sorts of stuff to be done
> before and after the build? I dont have much experience with visual
> studio.
> If so has this functionality been stripped away from the dot net
> framework?


You can set prebuild and postbuild events in Project->Properties->Build
Events.

--
Remove SHOES to reply.

Nov 16 '05 #4

P: n/a
Dear Lukasz,

Indeed, that is correct.

Regards,
Bart

ps. if you are interested, NAnt is a very usefull build tool, see my
previous post in this thread

"lukasz" wrote:
like in menu Project > Properties > Common Properties > Build Events?
Uzytkownik "Dee" <da************@hotmail.com> napisal w wiadomosci
news:20*************************@posting.google.co m...
Folks could do with a little bit of help

I am using the dot net framework.

Whenever im working on my project I need to build it to test it.

The problem is that I need to run a batch file before I build my code.

Then for complete testing of the system, I have another batch to run,
to create online help.

I know that I could just do the whole lot from one batch file, and
just call everything I need.
But whenever the ide is open I would rather just set it up to run from
here.
Are there any options for this sort of thing?

Didnt the old visual studio ide allow all sorts of stuff to be done
before and after the build? I dont have much experience with visual
studio.
If so has this functionality been stripped away from the dot net
framework?

Any info is appreciated
Cheers
Dee


Nov 16 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.