Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / IDE / October 2004

Tip: Looking for answers? Try searching our database.

Build Solution == Rebuild Solution

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ron Horn - 13 Oct 2004 23:27 GMT
I'm trying to figure out what setting is in place that's causing my
solution to go through a complete rebuild each time I open it.  

1.  Open solution.
2.  Select Build Solution from the menu.
3.  Build completes.
4.  Select Build Solution from the menu, says everything's up to date.
5.  Close solution.
6.  Open solution.
7.  Look in output directory and confirm objects are still there.
8.  Select Build Solution from the menu, a clean build is started.  

I don't think it's a dependency problem because ALL of the object
files are deleted before the build starts in step 8 above, which to me
indicates a Rebuild Solution command was issued.  Or perhaps a Clean
Solution command got issued just before the Build Solution command.
What might cause a Clean Solution or Rebuild Solution command to be
issued automatically, i.e. by something other than the user?

At first I thought someone had sneaked in and remapped my F7 key to
Rebuild Solution.

The only thing remotely unique about the solution was that I used
Configuration Manager to create it and told it to copy the settings
from another project in the solution.  I've done this with a dozen
other solutions and don't have the problem with them.

Ron
Kyle Alons - 14 Oct 2004 03:08 GMT
We've found that the 'incremental build' option in VS.NET is really a
misnomer, at least for anything except VC.NET projects. C# and VB.NET
projects have an incremental build option, but even if checked, once a
solution is closed and reopened after building (or built from the
command-line), even if no source code changes were made, it will always
rebuild the project (or at least regenerate the executable) when built
again.  This might work better in Whidbey (VS 2005).

Signature

---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.kinook.com

> I'm trying to figure out what setting is in place that's causing my
> solution to go through a complete rebuild each time I open it.
[quoted text clipped - 24 lines]
>
> Ron
Andrew McDonald - 14 Oct 2004 21:01 GMT
>> I'm trying to figure out what setting is in place that's causing my
>> solution to go through a complete rebuild each time I open it.
[quoted text clipped - 6 lines]
> command-line), even if no source code changes were made, it will always rebuild the project (or at
> least regenerate the executable) when built again.  This might work better in Whidbey (VS 2005).

I have the same problem with one of my home C++ projects. The settings are the same across all my
projects, so I don't think it's incremental building (will investigate though...). I asked here ages
ago but no-one had an answer. I've just found out that one of my work colleagues is now experiencing
exactly the same thing in a work project! Clearly there's a problem somewhere...

Andrew
Ron Horn - 18 Oct 2004 20:19 GMT
>>> I'm trying to figure out what setting is in place that's causing my
>>> solution to go through a complete rebuild each time I open it.
[quoted text clipped - 13 lines]
>
>Andrew

Good, well, sort of...I'm not going crazy then...yet!

I've got a dozen other projects I've created the same way and they all
behave as expected.  I just figured I'd kicked some bit accidentally
but had no idea what to look for.  

At least Whidbey doesn't have the problem when I brought the solution
into it.  So I've got something to look forward to!

Ron

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.