473,387 Members | 1,876 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,387 software developers and data experts.

why vs.net always recompile the projects that are compiled?

Hi all,

I have a solution that includes several projects, and one of them depends on
all others. When I compile it in Visual Studio, it always recompile all the
other projects even though I havn't modified them at all. This is annoying
coz whenever I make a small change, I have to wait for the whole solution to
be compiled. Can anybody suggest why and any way to solve it?

p.s. whenever I press F5 for debug, VS will recompile the solution even if I
havn't modified anything at all. This is stupid...

Regards,
David
Nov 17 '05 #1
3 1761
"Dai Hao" <wh**********@hotmail.com> wrote in message
news:u%****************@tk2msftngp13.phx.gbl...
Hi all,

I have a solution that includes several projects, and one of them depends on all others. When I compile it in Visual Studio, it always recompile all the other projects even though I havn't modified them at all. This is annoying
coz whenever I make a small change, I have to wait for the whole solution to be compiled. Can anybody suggest why and any way to solve it?

p.s. whenever I press F5 for debug, VS will recompile the solution even if I havn't modified anything at all. This is stupid...


I have the same question.It says it's compiling.

However, I/m not sure that the same compilers run, or that they run for the
same amount of time. For instance, perhaps the "csc" command, called when
the source file hasn't changed, simply checks for changes in the referenced
assemblies? Such a change can change the meaning of the program and require
a full compile, even if the source code didn't change.

This is new technology, and the only way to know what it's doing is either
to measure, or to ask politely.
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com
Nov 17 '05 #2
"Dai Hao" <wh**********@hotmail.com> wrote in message
news:OF**************@TK2MSFTNGP10.phx.gbl...
....
And if that is still acceptable, I still can't understand why it needs
to recompile (at least it says so, or whatever) when I debug without
modifying anything.


My point is that it needs to check the references your code uses, whether or
not your code actually changes.

I don't know if this is what it's doing while it says it's "Compiling", but
I though I'd mention the references issue because it's new.
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com
Nov 17 '05 #3
May be this is what you want

Go to the Build Menu in VS.NET
Select Configuration Manger... from the Build Menu
For each Project Listed in your Solution you can check to Build or not to
build it All the way to the right it is a check box

"Dai Hao" <wh**********@hotmail.com> wrote in message
news:u%****************@tk2msftngp13.phx.gbl...
Hi all,

I have a solution that includes several projects, and one of them depends on all others. When I compile it in Visual Studio, it always recompile all the other projects even though I havn't modified them at all. This is annoying
coz whenever I make a small change, I have to wait for the whole solution to be compiled. Can anybody suggest why and any way to solve it?

p.s. whenever I press F5 for debug, VS will recompile the solution even if I havn't modified anything at all. This is stupid...

Regards,
David

Nov 17 '05 #4

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

Similar topics

1
by: JCBrinegar | last post by:
Here is the question: We have a .NET service that makes calls to (using interop) COM+ components compiled under VB6. If we make changes to a VB6 COM Component, without breaking compatability,...
2
by: Ed_P. | last post by:
Hello, Up to this point, I've been using C# to create simple applications that only use on Project to store Windows Forms and other Files. The project has been complied into an EXE. The exe file...
3
by: r.manders | last post by:
In visual Studio .Net when I start a program in the debugger, it always starts building all included project files. This only happens since a few weeks, before that it just started the program,...
2
by: Pinnguy | last post by:
Hello, I have started to use managed C++ in VS 2003. I have several .NET class libraries written in MC++. I am finding the rebuild tendencies in VS to be very annoying. If I make a minor change...
1
by: Jody Gelowitz | last post by:
Within ASP.NET, is it possible to use a single .vb file and have it shared (or accessed) between multiple projects without having that file being copied to each project folder? ie....
7
by: bonk | last post by:
I have a c# project as part of a larger VS 2005 solution that always gets build optimized and I therefore can not evaluate any values while debugging through the code ("Cannot evaluate expression...
8
by: Dave | last post by:
Does anyone have any idea why my 2005 solution is choosing to rebuild, everytime i execute any project within its space? There's nothing overly strange with the project assemblies within, a few...
7
by: Fabio Mastria | last post by:
Looks like a joke... : As I say in the subject... I create a javascript file, with this function: function IndexChanged(source){ alert("Hallo");
4
by: Richard | last post by:
I want to know if there is a way it's possible to run csharp code from a .txt file without having to recompile it. thx in advance
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.