473,699 Members | 2,479 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 1308
"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
9223
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
1134
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
1611
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
1636
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
2946
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
1941
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
8701
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...
1
8932
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8892
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...
0
7772
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6539
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
5879
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
4387
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...
1
3069
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.