build-process

How would you create this solution in visual studio?

I have project X, fully operational that compiles into X.exe I have project Y, it has a reference to project X, and compiles to: Y.exe; Y.dll I build project X's solution and the release folder has: X.exe I build project Y's solution and the release folder has: X.exe, Y.exe, Y.dll How do I remove the extra X.exe in project Y? ...

How do I reference a PIA so my build works ona build server

I'm working on some stuff I've inherited that has a slightly untidy project structure. Some of the projects reference a Primary Interop Assembly (PIA) that it expects to be installed in the GAC. There is a note in the solution folder that says (in summary) "Before building this project, first build X, Y and Z and manually install them in...

How to replace "ld --exclude-libs" on Mac OS X?

We're trying to port a commercial SDK software from Linux to Mac OS X and we're running into the problem that ld on Mac OS X does not support the --exclude-libs switch which we use on the linux side. We are linking in static libraries, object files to create a shared library. We want to only expose symbols marked with: #define EXPORT_...

SQL scripts under Subversion

I am a build engineer and responsible for our source control layout. We need to keep a version of all database objects and also group changes together with rollback scripts for pushes to production. We have development, QA, and Production environments and there are different versions of the database objects in each. One area we have t...

Java Build Process / YUI Compressor Issues

I am very new to Java programming so please bare with me. I am building a build process for our web development team. All it needs to do is read a global.css file, find all the stylesheets that are used for the project, concat them into one large file, then compress this file using the YUI Compressor. So far I am all the way up to the po...

Build monitor for TFS 2008 build server

We have about 6 TFS Projects with their own builds that we want to actively monitor. Ideally it should show each of the builds along with their status: succeeded, partially succeeded, failed.. I don't need it to drive a light, rather I want a simple window as either a windows app or a web page. I did come across the Build Monitor on c...

Working with ant namespace / directory structure

I'm working with ant on linux using the command line. I've got a simple build step with javac. This compiles correctly but it creates a directory structure under build like my namespace. ie: ./build/com/crosse/samplespace/SampleProgram.class How can I get this output into one directory (where it's easier to call java on it). I tri...

NAnt Alternatives

I've been using NAnt for a while but it seems to be overly complex for what I need. I was wondering if there are any alternatives around for building C# projects? ...

Silverlight xap file not being copied to ClientBin on Build Server

We're developing a ASP.Net Web Application project that has a Silverlight 2.0 component. We've referenced the silverlight project in the web application properties, and the xap file is being copied to the ClientBin folder of the Web application when we build locally. The problem is that when we build this on our build server (which is ...

What do I need to install to compile Silverlight 2.0 applications on my build server

What's the minimum that I need to have installed on my Build Server (in addition to the standard .Net 3.5 stuff) to allow it to compile Silverlight 2.0 applications? I have a Silverlight application that seems to be building correctly, but is not playing nicely with a related Web Application project - see this related question that I a...

What information can I find about a build from the assembly info?

Following on from my previous question, what useful information can you retrieve from a .net assembly about the build process? I know I can look at the AssemblyVersion to get major and minor application version, and when the build took place. Can I find: Who did the build? i.e. user name. On what machine? Which O/S version? Anything ...

How do I attach my application into another .Net application?

I'm trying to create a quick debugger, wherein I can attach my application to a running .net process and execute scripts from there. I'm using C#. How will I do it? Thanks :) ...

Ant copy file to leaf directory

I'm trying to use Apache Commons Configuration and using ant for my build tool. I have one namespaced class, and when ant builds it of course sub-directories. I need to put my .xml configuration file in the leaf directory (ie: ${build}/com/cross/xxx/). Is there an automated way to do this, or do I just manually configure the path of t...

Alternatives to Using BuildProviders with Web Applications

I've read that you cannot use a BuildProvider with Web Applications in Visual Studio (or more specifically, you can use it, but your code isn't part of the project) Are there any other ways to generate code on the fly using a Web Application project? With or without using third-party tools? ...

How do I provide Team City with a file?

We are looking at modifying our build process so that our configuration files are all template based. We will then have a local.properties.xml file which will be used by NAnt to create configuration files that are specific to the person running the build. My question is how can I safely provide TeamCity with a file considering we don't...

How to build a class library with Nant

How do I go about compiling a .net 3.5 class library into a dll with Nant (0.86)? This is what I have so far: How do I go about referencing a system dll in the GAC? This line done seem to work. <include name="System.ComponentModel.DataAnnotations.dll"/> This is my script: <?xml version="1.0"?> <project name="MyCorp.Data" default="a...

Subversion and CI build processes

Here at work we are using Subversion and CruiseControl.NET and as our source control and CI tools. Our Subversion structure is setup like the following: Project Branch Tag 1.0.0.0 1.0.0.1 1.0.0.2 Trunk At present our process for creating builds is to create a tag from the trunk and a run batch file ...

Javascript/Markup in Assembly

I'm trying to somehow render out javascript for a particular user control rather than just having a script include for the javascript file. The reason why I don't want a simple script include is because I need to append unique ClientID's to the dom elements at runtime. I could hardcode the javascript in a function and just append the ...

Managing multiple configuration files in Visual Studio for a C# project

I have learned that builds should be very straight forward and requires less human intervention. In my situation, I have 3 environments, DEV (development version), SIT (STG integration testing) and UAT (user acceptance testing). All these environments have different database connection details and other settings (such as logging). Curr...

Conditional compilation vs Branching the code

We have a project that needs to be build for both .Net 1.1 and 2.0 due to server compatibility issues (Windows Server 2000 and Windows Server 2003 production servers). I am looking for help making the decision between conditional compiliation or branching the code in source control. There are pros and cons for each. Thanks in advance....