Accelerate Compiletime

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi!
how can we accelerate compile time of solution, that contains many projects.
Most of them are unmanaged C++ and are linked into DLL, and 1 project is
managed exe in C#. Even when we want to Run solution without any need of
compiling- it checks if any of projects has changed. How can we optimize it?

why debugging in our case is so slow? Steping over the code needs too much
time. How can we optimize it?

Thanks in advance,
 
Soulfly said:
how can we accelerate compile time of solution, that contains many
projects.
Most of them are unmanaged C++ and are linked into DLL, and 1 project is
managed exe in C#. Even when we want to Run solution without any need of
compiling- it checks if any of projects has changed. How can we optimize
it?

There is a setting in VS that indicates whether you want the whole solution
built in a run or debug, or whether just the current project and its
dependencies. Go to

Tools / Projects and Solutions / Build and Run

for these options.

-- Alan
 
Thanks for the answer Alan!

I´m sorry but I can´t find:
Tools / Projects and Solutions / Build and Run

I´m using Visual Studio Pro 2003. Could that be the problem?
Thanks in advance,
 
Soulfly said:
I´m sorry but I can´t find:
Tools / Projects and Solutions / Build and Run

I´m using Visual Studio Pro 2003. Could that be the problem?

Sorry, I left off "Options" from my directions:

VS 2003:
Tools / Options... / Projects and Solutions / Build and Run
Options

VS 2005:
Tools / Options... / Projects and Solutions / Build and Run


In either case it is the checkbox that reads "Only build startup projects
and dependencies on Run". Clicking the checkbox will build only the project
to be run instead of all of them.


-- Alan
 
Thanks again Alan!
It might sound stupid but sorry - we don´t have this kind of menu at all in
our Visual Studio .Net 2003 Version!

greetz,
 
Back
Top