473,748 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accelerate Compiletime

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
Feb 3 '06 #1
4 1311
"Soulfly" <So*****@discus sions.microsoft .com> wrote in message
news:E0******** *************** ***********@mic rosoft.com...
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
Feb 3 '06 #2
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
"Alan Pretre" wrote:
"Soulfly" <So*****@discus sions.microsoft .com> wrote in message
news:E0******** *************** ***********@mic rosoft.com...
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

Feb 6 '06 #3
"Soulfly" <So*****@discus sions.microsoft .com> wrote in message
news:A2******** *************** ***********@mic rosoft.com...
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
Feb 6 '06 #4
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,
--------------------------------------------
Soulfly
"Alan Pretre" wrote:
"Soulfly" <So*****@discus sions.microsoft .com> wrote in message
news:A2******** *************** ***********@mic rosoft.com...
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

Feb 8 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
9226
by: ulysses | last post by:
Hi,all I use wxPython make a bittorrent client. I find wxPython very slow and use many many memory. When app start, it need 19MB memory. I only use common GUI components. Python is a really good programming language. But how to do a small,smart, efficency GUI in win32,it's a big question. I need make GUI,core code is bittorrent code. I can't change it.it's
0
1137
by: Adam Carmichael | last post by:
------=_NextPart_000_4BC8_01C34EFD.A4A62470 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I am trying to report a bug, and I would like to compile mysql with = debugging enabled to provide further information, but I receive compile = errors. I would like to resolve the compile errors before I report the =
6
1615
by: Al-Burak | last post by:
I have a class which only purpose is to provide services to a variety of classes in other files. The 'manipulator' class is aware of the other classes only because the header files have been include in its header file. However, there are times when some of the other classes are not and will not be dealt with, thus the need to include the header files does not arrive. To handle this, I have used compiler preprocessors to prevent the...
4
1638
by: =?Utf-8?B?UGl0Rw==?= | last post by:
Here the facts as code sample: Public Class Class1 Sub ABC(ByVal item As IUnit) End Sub End Class Public Interface IUnit ' or any other Interface ReadOnly Property Heureka() As Activator ReadOnly Property Reference() As String
7
2947
by: Christof Warlich | last post by:
Hi, the subject says it all: I need to instantiate an array of objects where each object "knows" its arrary index. So far, this is easy as long as index is not a compile-time constant: class Elements { public: Elements(): index(maxIndex) {
2
1943
by: mh | last post by:
I've got some python xmlrpc servers and clients. What's the best way to accelerate them? xmlrpclib.py attempts to import these modules: import _xmlrpclib import sgmlop from xml.parsers import expat and falls back to defining the SlowParser class.
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9558
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9253
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6798
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6077
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.