Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-25-2006, 03:44 PM
ajensen ajensen is online now
Registered User
 
Join Date: 08-03-2006
Posts: 1
Version always incrementing even if project not changed

We have a large build file that builds something like 150 solution files. Each of these solutions only has one project underneath, so I suppose we could build the project files instead if it's necessary. The problem here is that we have it set to increment the version, which it does...but it does so every time the build runs whether the files have changed or not. What actually causes the version to increment and how can we get it to only increment when a project actually changes? Right now we have all files at the same version and can't tell which have changed or not.
Reply With Quote
  #2  
Old 10-25-2006, 08:38 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Which version of Visual Studio are you using? Unfortunately, for managed .NET projects in Visual Studio .NET 2002/2003, a command-line build always does a rebuild, so the version will always get incremented and the project (re)built again. See here for details:
http://www.kinook.com/Forum/showthread.php?threadid=303

C++ projects generally do build incrementally, but there are some VS bugs that can cause problems there as well. VS 2005 does a better job with true incremental builds for
.NET projects. If you're not building .NET projects in VS.NET 2002/2003, please ZIP and send or post more details, including:
1) The info from Help | About | Install Info
2) The .bld file
3) A build log file
4) The .sln file and project files (no source code files)

Thanks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 02:26 PM.


Copyright © 1999-2023 Kinook Software, Inc.