Kinook Software Forums

Kinook Software Forums (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Version always incrementing even if project not changed (https://www.kinook.com/Forum/showthread.php?t=2117)

ajensen 10-25-2006 04:44 PM

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.

kinook 10-25-2006 09:38 PM

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.


All times are GMT -5. The time now is 03:41 AM.


Copyright 1999-2022 Kinook Software, Inc.