473,396 Members | 2,154 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,396 software developers and data experts.

building projects

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
4 1306
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Player | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all I am using VS.NET 2003. What I am doing apart from teaching myself C# is learning my way round V.NET2003 also.
0
by: andrei | last post by:
Hi Group, Environment: Windows 2000 Professional, VS.NET 2003 The solution has 30 projects (one main asp.net application and the rest are dlls) We have this annoying behaviour with our...
3
by: Brett Romero | last post by:
I'm using VS 2k3. I have built debug versions of projects and now want to build release versions. The IDE is only letting me build one or the other. If I build a release version, it removes the...
2
by: Gawel | last post by:
Hajo, I have soulutin with 7 library projects and 2 web projects. When I change something in one of the libraries and hit F5 it takes literally 1-2 minutes to start an application. I've...
2
by: joshusdog | last post by:
The installation of Python 2.5 comes with a bunch of built-in extension modules (.pyd files) under the DLLs directory. I've downloaded the Python source code and am trying to build the debug...
1
by: jamesmcdonagh | last post by:
Hi newbie using nAnt for .net 2.0. I would be happy of any help that you may be able to provide. The weird thing is that VS.net builds without a problem. And the intellisense within the object...
0
by: ehausman | last post by:
Hello We are switching our code from vb6 to vb.net 2005 and had a question about building all the separate projects into one build folder. With the vb6 projects (30+ consisting on exes, dlls,...
3
by: hsmit.home | last post by:
I spent way too much time on this and I must say, I was a little disgruntled with what has been posted on all the various Xalan C mailing lists. Everyone says there's a solution, but give next to...
12
by: Ludwig | last post by:
Hi all, we are building our own class library framework, with stuff in it that can be used in various projects at various clients. Initially we had 4 assemblies with everything in it. Of...
4
by: ramshankaryadav | last post by:
Hi, I'm facing a problem while building a project through MSBuild, this project is a part of a solution which has several other projects on which it depends, but I want to build this project...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.