473,714 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1981
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...@newsgro ups.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.microso ft.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...@newsgro ups.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.microso ft.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...@newsgro ups.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.microso ft.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*********@gm ail.comwrote in message
news:c7******** *************** ***********@d4g 2000prg.googleg roups.com...
On Dec 12, 3:59 pm, Peter Ritchie [C# MVP] <PRS...@newsgro ups.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.microso ft.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*********@gm ail.comwrote in message
news:c7******** *************** ***********@d4g 2000prg.googleg roups.com...
On Dec 12, 3:59 pm, Peter Ritchie [C# MVP] <PRS...@newsgro ups.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.microso ft.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...@newsgro ups.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.microso ft.com/VisualStudio/feedback/and vote.http://www.peterRitchie.com/blog/
Microsoft MVP, Visual Developer - Visual C#

"BobF" wrote:
"Dave" <djohanns...@gm ail.comwrote in message
news:c7******** *************** ***********@d4g 2000prg.googleg roups.com...
On Dec 12, 3:59 pm, Peter Ritchie [C# MVP] <PRS...@newsgro ups.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.microso ft.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
2088
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 whatever version was in the GAC. Now in an ASP.NET app in VS 2005, adding a reference to a GAC'd assembly actually adds a version specific reference to the web.config. That means that we would have to change the assembly reference in every single...
1
2068
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 references were added to using the Projects tab on the Add Reference dialog and not by browsing to the DLL for the project. When we build or run the solution "bogus" compile errors
5
1517
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 instance of Class1 to UserControl1 (with WithEvents): "Public WithEvents ThisClass As New Class1". 5. Build the Solution, and put an instance of UserControl1 on Form1.
2
2594
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, etc), which was working fine... until about an hour ago... Now, although the form works fine when playing the app, whenever I go into the form designer I get: ==============
54
6444
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 quickly and easly." I don't agree on what concernes ASP .NET Web Sites in VS2005. All what involves Namespaces in Web sites has been disappeared. I know you can still MANUALLY manage them, but not QUICKLY and EASLY. In a
4
1325
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 updated modules to add to the project and I will send him my updates so that we stay in synch. I tried loading the project (solution) into VS 2005 and it warned that changes would be made that would result in incomptibility with VS 2003.
1
1436
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 Configuration" when I click on the menu bar item "Website". And yet, using Vstudio 2005 on WinXP, I have another little site in http://some.remotePC.com/mySiteA which does NOT expose the menu choice "ASP.Net Configuration".
5
1407
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 go okay, and still was successful when building, but I later had to make a modification. When I tried, it wouldn't recognize the changes. I put in a breakpoint right before my modification and then when stepping through it, it jumped right...
3
4860
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: dx9.lib(WinConsole.obj) : error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " ... .... dx9.lib(WinConsole.obj) : error LNK2019: unresolved external symbol "public: void __thiscall...
0
8797
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
9309
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...
1
9071
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
9010
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
7946
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...
0
4462
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
4717
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2514
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2107
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.