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

VStudio 2005 Solution always rebuilding

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 class libraries, a couple of console apps, one custom setup
project and one windows installer project.

i've never seen this behavior before, and i've checked all the
projects' settings that i can think of.

thanks, dave
Dec 12 '07 #1
8 1954
What do you mean by "rebuild"? Are you seeing "Rebuild All started" in the
build output?

Have you modified any build dependancies, or do you have any custom build
steps or build events?

--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
"Dave" wrote:
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 class libraries, a couple of console apps, one custom setup
project and one windows installer project.

i've never seen this behavior before, and i've checked all the
projects' settings that i can think of.

thanks, dave
Dec 12 '07 #2
On Dec 12, 2:10 pm, Peter Ritchie [C# MVP] <PRS...@newsgroups.nospam>
wrote:
What do you mean by "rebuild"? Are you seeing "Rebuild All started" in the
build output?

Have you modified any build dependancies, or do you have any custom build
steps or build events?

--
Browsehttp://connect.microsoft.com/VisualStudio/feedback/and vote.http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#

"Dave" wrote:
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 class libraries, a couple of console apps, one custom setup
project and one windows installer project.
i've never seen this behavior before, and i've checked all the
projects' settings that i can think of.
thanks, dave- Hide quoted text -

- Show quoted text -
by rebuilding mean when hitting f5 i see "Build Started... / then
Building..." as it chugs through and rebuilds all my 10 projects. No
changes have been mades since the last execution.

I do have post build steps that copy app.config files from source
library directories into unit test directories, but i have similar
post build actions in other solutions that don't cause this behvior.

thanks, dave
Dec 12 '07 #3
There *was* briefly a bug in Zone Alarm a while back (1 yr perhaps) that
somehow prevented file dates being changed. This bug had exactly the effect
you describe.
Probably not your problem but possibly worth looking outside VS if all else
fails.

Cheers
Doug Forster
Dec 13 '07 #4
Okay, that's not a "rebuild" in Visual Studio terms.

Whenever you run the application within Visual Studio, it starts a build.
If there's nothing it thinks has changed since the last build it will simply
not compile anything. There's many reasons why Visual Studio thinks it
should recompile files upon each F5. Dependencies is one way, setting up a
custom compile tool for to build a content file is another. If I remember
correctly sometimes having setup/deployment projects may also cause more
builds than are necessary. One way of checking this is to unload the
setup/deployment project from the project to see if that affects how much
gets compiled during the debug build. Right click the project in the
Solution Explorer, and select Unload Project...

--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
"Dave" wrote:
On Dec 12, 2:10 pm, Peter Ritchie [C# MVP] <PRS...@newsgroups.nospam>
wrote:
What do you mean by "rebuild"? Are you seeing "Rebuild All started" in the
build output?

Have you modified any build dependancies, or do you have any custom build
steps or build events?

--
Browsehttp://connect.microsoft.com/VisualStudio/feedback/and vote.http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#

"Dave" wrote:
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 class libraries, a couple of console apps, one custom setup
project and one windows installer project.
i've never seen this behavior before, and i've checked all the
projects' settings that i can think of.
thanks, dave- Hide quoted text -
- Show quoted text -

by rebuilding mean when hitting f5 i see "Build Started... / then
Building..." as it chugs through and rebuilds all my 10 projects. No
changes have been mades since the last execution.

I do have post build steps that copy app.config files from source
library directories into unit test directories, but i have similar
post build actions in other solutions that don't cause this behvior.

thanks, dave
Dec 13 '07 #5
On Dec 12, 3:59 pm, Peter Ritchie [C# MVP] <PRS...@newsgroups.nospam>
wrote:
Okay, that's not a "rebuild" in Visual Studio terms.

Whenever you run the application within Visual Studio, it starts a build.
If there's nothing it thinks has changed since the last build it will simply
not compile anything. There's many reasons why Visual Studio thinks it
should recompile files upon each F5. Dependencies is one way, setting up a
custom compile tool for to build a content file is another. If I remember
correctly sometimes having setup/deployment projects may also cause more
builds than are necessary. One way of checking this is to unload the
setup/deployment project from the project to see if that affects how much
gets compiled during the debug build. Right click the project in the
Solution Explorer, and select Unload Project...

--
Browsehttp://connect.microsoft.com/VisualStudio/feedback/and vote.http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
Yes i agree and i tried exactly as you suggested before posting this
question. I thought the setup project(s) could be hampering the build
process, but unloading them still caused dependencies / the solution
to think it needs rebuilding.

You're also right that f5 results in rebuilds everytime, and VStudio
has always run this way. I've just got something funky going on I
think.
Dec 13 '07 #6

"Dave" <dj*********@gmail.comwrote in message
news:c7**********************************@d4g2000p rg.googlegroups.com...
On Dec 12, 3:59 pm, Peter Ritchie [C# MVP] <PRS...@newsgroups.nospam>
wrote:
>Okay, that's not a "rebuild" in Visual Studio terms.

Whenever you run the application within Visual Studio, it starts a build.
If there's nothing it thinks has changed since the last build it will
simply
not compile anything. There's many reasons why Visual Studio thinks it
should recompile files upon each F5. Dependencies is one way, setting up
a
custom compile tool for to build a content file is another. If I
remember
correctly sometimes having setup/deployment projects may also cause more
builds than are necessary. One way of checking this is to unload the
setup/deployment project from the project to see if that affects how much
gets compiled during the debug build. Right click the project in the
Solution Explorer, and select Unload Project...

--
Browsehttp://connect.microsoft.com/VisualStudio/feedback/and
vote.http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#

Yes i agree and i tried exactly as you suggested before posting this
question. I thought the setup project(s) could be hampering the build
process, but unloading them still caused dependencies / the solution
to think it needs rebuilding.

You're also right that f5 results in rebuilds everytime, and VStudio
has always run this way. I've just got something funky going on I
think.
I always had this problem with C++ projects that were started with wizards
and had Help selected. The Help part of the project would build every run
regardless of whether or not any changes had been made. I started excluding
Help files from the project until I was ready to create the Help content.
YMMV
Dec 13 '07 #7
Actually, that's a good point. I've found that having a C++ project in a
solution causes extraneous and invalid builds... I haven't tracked down
exactly why/how yet.
--
Browse http://connect.microsoft.com/VisualStudio/feedback/ and vote.
http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
"BobF" wrote:
>
"Dave" <dj*********@gmail.comwrote in message
news:c7**********************************@d4g2000p rg.googlegroups.com...
On Dec 12, 3:59 pm, Peter Ritchie [C# MVP] <PRS...@newsgroups.nospam>
wrote:
Okay, that's not a "rebuild" in Visual Studio terms.

Whenever you run the application within Visual Studio, it starts a build.
If there's nothing it thinks has changed since the last build it will
simply
not compile anything. There's many reasons why Visual Studio thinks it
should recompile files upon each F5. Dependencies is one way, setting up
a
custom compile tool for to build a content file is another. If I
remember
correctly sometimes having setup/deployment projects may also cause more
builds than are necessary. One way of checking this is to unload the
setup/deployment project from the project to see if that affects how much
gets compiled during the debug build. Right click the project in the
Solution Explorer, and select Unload Project...

--
Browsehttp://connect.microsoft.com/VisualStudio/feedback/and
vote.http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#
Yes i agree and i tried exactly as you suggested before posting this
question. I thought the setup project(s) could be hampering the build
process, but unloading them still caused dependencies / the solution
to think it needs rebuilding.

You're also right that f5 results in rebuilds everytime, and VStudio
has always run this way. I've just got something funky going on I
think.

I always had this problem with C++ projects that were started with wizards
and had Help selected. The Help part of the project would build every run
regardless of whether or not any changes had been made. I started excluding
Help files from the project until I was ready to create the Help content.
YMMV
Dec 13 '07 #8
On Dec 12, 5:10 pm, Peter Ritchie [C# MVP] <PRS...@newsgroups.nospam>
wrote:
Actually, that's a good point. I've found that having a C++ project in a
solution causes extraneous and invalid builds... I haven't tracked down
exactly why/how yet.
--
Browsehttp://connect.microsoft.com/VisualStudio/feedback/and vote.http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#

"BobF" wrote:
"Dave" <djohanns...@gmail.comwrote in message
news:c7**********************************@d4g2000p rg.googlegroups.com...
On Dec 12, 3:59 pm, Peter Ritchie [C# MVP] <PRS...@newsgroups.nospam>
wrote:
>Okay, that's not a "rebuild" in Visual Studio terms.
>Whenever you run the application within Visual Studio, it starts a build.
>If there's nothing it thinks has changed since the last build it will
>simply
>not compile anything. There's many reasons why Visual Studio thinks it
>should recompile files upon each F5. Dependencies is one way, setting up
>a
>custom compile tool for to build a content file is another. If I
>remember
>correctly sometimes having setup/deployment projects may also cause more
>builds than are necessary. One way of checking this is to unload the
>setup/deployment project from the project to see if that affects how much
>gets compiled during the debug build. Right click the project in the
>Solution Explorer, and select Unload Project...
>--
>Browsehttp://connect.microsoft.com/VisualStudio/feedback/and
>vote.http://www.peterRitchie.com/blog/
>Microsoft MVP, Visual Developer - Visual C#
Yes i agree and i tried exactly as you suggested before posting this
question. I thought the setup project(s) could be hampering the build
process, but unloading them still caused dependencies / the solution
to think it needs rebuilding.
You're also right that f5 results in rebuilds everytime, and VStudio
has always run this way. I've just got something funky going on I
think.
I always had this problem with C++ projects that were started with wizards
and had Help selected. The Help part of the project would build every run
regardless of whether or not any changes had been made. I started excluding
Help files from the project until I was ready to create the Help content.
YMMV- Hide quoted text -

- Show quoted text -
My last job had loads of managed C++ code mixed in with .NET projects
and yes I had issues of C++ projects building there also. We often
just excluded the C++ from the solution until needed as suggested
herein.

I'm only working with C# now though. Regardless, I may just unload
setup projects for now, so builds will be quick(er) at least.
Dec 13 '07 #9

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

Similar topics

16
by: Kent | last post by:
We have created several Assemblies that we add to the GAC on our web servers. In an ASP.NET app in VS2003, Adding a reference to strong named GAC'd Assembly meant that the web app would use...
1
by: Ravi Chaudhary | last post by:
Hi, We are using VS.Net 2003 and coding in VB.net. The solution has 38 projects; most of the projects in the solution reference other projects (without any circular references) and all the...
5
by: Pieter | last post by:
Hi, I'm getting a really terrible and anoying bug/problem in VS.NET 2005: 1. Create a new Windows Application. 2. Add a new class Class1. 3. Add a usercontrol UserControl1. 4. Add a public...
2
by: Marc Gravell | last post by:
Aaarrggghhh! Maybe I've just got lucky, but until now I haven't had such a seemingly unrecoverable form corruption error... I have a reasonably complex form (data-binding to sub-controls, events,...
54
by: m.roello | last post by:
In the book: "Working with Microsoft Visual Studio 2005" Craig Skibo wrote: "The power of Visual Studio 2005 lies in its ability to empower users to build, test, and debug powerful applications...
4
by: John Kotuby | last post by:
Hello all, I have VStudio 2005 currently installed on my workstation. However, I am collaborating on a project with an outside consultant who is using VS 2003. Every so often he sends me new or...
1
by: JJA | last post by:
I am exploring use of the new ASP.NET 2.0 membership facilities. Using Visual Studio 2005 on WinXP, I have one little site in http://localhost/mySite which exposes the menu choice "ASP.Net...
5
by: JT | last post by:
Hi, I'm not sure where the problem is, but I think it's related to the .pdb file. I had a class library created in VS 2003 and decided to convert it to a VS 2005 project/solution. It seemed to...
3
by: Edward Mitchell | last post by:
I am converting a project that uses DirectX and worked under VS.NET 2003. Now when I convert the project to .NET 2005, there are linker errors for _Xran and _Xlen as follows: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.