build-process

Reason why a VS 2008 project is being rebuilt each time

Is there a way to find out the reason why a project is being rebuilt each time a Build Selection operation is issued in VS 2008? I've tried to even remove all dependencies from the Build\Configuration Manager (unchecked the build column for all assemblies, but the one in question). I get the same result: the assembly is rebuilt each ti...

Is it a bad idea to add a period to a .Net solution file?

If I was using a "Partitioned Single Solution" strategy to build my .Net projects and solutions, could anyone comment on, or share any experiences about why it would be a bad idea to include dot notation in my solution names as such...     master.sln     master.sub.sln ...also let me know if you think it's a good idea? Please note that...

Recommended build targets

I'm a solo developer looking into a tool such as MSBuild/NAnt to improve my build process. My project files are starting to get messy with post-build events and there are analysis tools I'd like to run some times and not others. I want to regain order and define everything into a build XML file. My thoughts for build targets are: Debu...

make: hierarchical make file

(disclaimer: I am used to scons ... I am somewhat unexperienced with make) Context: I am using Eclipse CDT which generates makefiles. Let's say I have a project directory 'lib' and 2 build configurations 'Debug' and 'Release'. Eclipse CDT gracefully generates a makefile for each build configuration. The said makefiles end-up residing ...

What does the load-average used by parallel make represent?

Using GNU make on Windows, what exactly does the load-average value represent? For example: make -j --load-average=2.5 What does the 2.5 mean? ...

Importing source files into Microsoft visual studio 2008?

Hi, I am pretty new to programming. I would like to download an open source project and build it in my Microsoft Visual Studio 2008. In fact, I tried to import and build the application “Winscp”: https://sourceforge.net/projects/winscp/ But I didn’t work. Please can somebody help me and tell me which files do I have to download (from so...

Publish website from Visual Studio with some zip files

I feel like i am going in circles here, but i am so close. Here's what i want to happen: when i publish the website, i would like it to build two deployment projects that i have (staging and production), zip them up into two separate files, and then move my compiled site to the server along with the two two zip files. The only reason ...

Integrate Cruise Control .NET with TFS

I'm trying to use Cruise Control .NET with TFS. What is the best way to integrate TFS with the latest version of Cruise Control .NET? ...

Setting up dependencies on Visual C++ 2008 Express

How do I set up Visual C++ 2008 Express to point to the required libraries and include directories of a 3rd party C library? ...

MySql.Data DLL not being copied to output directory

A similar question was asked here without any answers. I have a cs project with a reference to MySql.Data.Dll with CopyLocal=true. When I run the msbuild from command line on one computer (Windows 7 64 bit), it works perfectly. When I run the same MsBuild on another computer (Windows Server 2008 RC2), the DLL is not copied to the output...

Visual Studio 2008 Managed Incremental Build doesn't work

Dear Lazyweb, I have "Managed Incremental Build" turned on in my managed C++ project. I have a DLL written in C#, and the solution contains both the C++ and C# projects. I have not defined any dependencies between the projects, but the C# DLL is referenced by the C++ project. The problem is that whenever the C# project is rebuilt, the...

Sharing code between projects without svn:externals

In order to simplify the build process, I've been trying to reorganize my version control repository. I am developing a simple client-server application. Following Rob Williams' advice, I have separated the client and the server into separate projects each with their own lifecycle. The problem though, is that client and server share som...

Programmatically Add Site Template (.stp) to SharePoint

Hi, I would like to programmatically add a custom site template (.stp file) to a MOSS team site collection as part of my build process. Can anyone point me towards the best way to do this? Thanks, MagicAndi. ...

Make (Parallel Jobs) on Windows

What setup works for GNU make parallel jobs (-j) on Windows? I have tried setting the shell to cmd.exe using MinGW make 3.81, this works in creating the multiple processes but make fails with the "waiting for job" message. Can this work and what is the best setup? (MinGW / Cygwin / ???) Can someone point me to a working example to test...

Make IDE build output binaries to single folder, and resolve ref's from it

Our build server has been using the following properties for some time OutputPath=c:\output; OutputDir=c:\output; OutDir=c:\output; ReferencePath=c:\output; AdditionalLibPaths=c:\output Which make all output go to a common folder, and also allow resolving references for that same folder. This works great because it's an optimizati...

What are ways of improving build/compile time?

I am using Visual Studio, and it seems that getting rid of unused references and using statements speeds up my build time on larger projects. Are there other known ways of speeding up build time. What about for other languages and build environments? What is typically the bottleneck during build/compile? Disk, CPU, Memory? What is a li...

Distributed GNU Make for Win32

Is there a version of GNU Make, or GNU Make compatible application, which supports distributed builds on Win32? We currently have a large project using gnu makefiles. We use the Win32 version of GMake to build. Our build environment supports parallel builds without a problem, and we'd like to try and perform a distributed build if pos...

How to setup a sophisticated java development infrastructure?

I'm looking for a complete java development infrastructure with an integration of: an IDE like eclipse, a build system like Maven, a version control system like subversion, a continuous integration server like Hudson, a repository manager like Nexus, an automated release plugin like Maven Release Plugin. Further I'd like to have: a...

Medium/Large solution - Visual Studio Build process - Advice needed

I'm currently in the process of developing a large application. At the moment, i have one solution (this may change in the fullness of time) with many projects. I've set up the directory structure as: \ lib\ (contains shared 3rd party components) build\ build\bin (output directory) build\wwwroot (output directory for web app) config\ ...

Maven - which projects or techologies you are using it for?

I've been leading rather large project that strives to "Mavenize" various testing apps produced by the engineering tools group over past 5+ years to test and optimize our home-built database. So far our group managed to successfully retrofit (beside obvious Java) few Coldfusion-based apps, PHP app, large .NET app with about 30 modules an...