custom-build-step

Running doxygen as Custom Build Step in VS2008

I am generating doxygen documentation for my (fairly small) project on each build. I did the following to accomplish this: Added the index.html, which doxygen generates, to the project Specified a Custom Build Step for this file (not the whole project) Command line: doxygen ../doc/Doxyfile Outputs: ..doc/html/index.html Additional Dep...

Custom Flex Ant build task

A beginner's question. I'm building a .swf with Flex Ant. To my .swf I link a file, target.as, which I generate from file source.txt with command ./tool.sh source.txt > target.as How can I add what is described in the above sentence to my ant build process? ...

Visual studio custom build step rule?

Using Visual Studio 2008, When I add to a C++ project a file that is not .c/.cpp/.h/.rc or anything the IDE doesn't recognize a dialog pops up which asks me if I want to create a custom build step rule for this kind of files. Does anybody know how to get to this dialog without adding a file? I can't seem to be able to find in any of the...

VS2005 Custom Build Rules: How to make Categories properly show?

Hello, I've created a .rules file which shows up correctly in the Property Pages for my project. The problem is that Categories used to sort the properties don't show up correctly. Only the categories for the property page defined first in the .rules file show up. In this image, the categories would be "General" and "Project Defaults" ...

Things to consider when writing our own Continuous Integration server?

I work on a large project in an organization that is (slowly) upgrading our development processes to be a bit more modern. We currently are considering moving to a Continuous Integration model; as part of this move, we are considering writing our own Continuous Integration server. We have a very mature (somewhat ossified) build process...

XCode Different Resources For Different Targets

Hi. I am developing an iPhone app and there will be a Full as well as a Lite version of that app. In order get both bundles from the same source code and xcode project I added another target to the xcode project. Now, I want to have the Lite target copy only a subset of the resource files to the bundle. But, xcode won't simply let me d...

How do I set up a Java-like language (LeJOS NXJ) in Visual Studio 2005 that uses an external compiler?

Recently, I installed the JDK and a java library called LeJOS NXJ, for controlling a LEGO Mindstorms robot. I'd like to be able to set up the language to run through visual studio, which offers J# color coding. The command line to compile the program is: nxjc "Myfile.java" and the command line to deploy or download the program to the ...

VS2008: Add custom build rule to a Property Sheet (vsprops)?

I'm using the CUDA .rules file which comes with the CUDA SDK for custom build steps in my project. To save on property duplication I'd like to define the properties of the CUDA rule in a .vsprops file. For some reason, the CUDA rule branch of the properties tree does not show under any of my property sheets, only under the main configura...

Set the default description for custom build rules in Visual Studio (2008)

In VS, it is possible to set a custom build rule at the individual file level. However, unless you change the description of the build step (which is what msbuild outputs when running the external tool), all you get is the default, which says "Performing Custom Build Step," followed by the error output of the tool. I recently got burned...

Visual C++ preprocessor definitions

Is there a way to transfer C++ preprocessor definitions into a custom pre-link step procedure call as a command-line parameter or export them into a file any other way? Example: Let's say, I have a c++ project, and in it's Debug configuration I put a preprocessor definition like MAKUMBA_OBA=0x13 Then I add custom pre-link step which exec...

Visual Studio 2010 and protobuf-csharp-port

We're using Jon Skeet's proto-csharp-port, and I'm running into some difficulties when mixing it with ReSharper in Visual Studio 2010. We generate the .cs files via a custom MSBuild target, hooked up as follows: <Target Name="BeforeBuild" DependsOnTargets="CompileProtos" /> The CompileProtos target runs ProtoGen and then adds the gen...

Check if a file is modified in a custom build event in VS2008

I'm using a custom build step to generate gSoap code from a .wsdl file during my build. Is there any way to get Visual Studio to skip this step if the .wsdl file has not been modified since the Soap stubs were created? ...

Should I auto-increment the assembly version when I build my software?

In Visual Studio 2003, you could easily set your project assembly to auto-increment every time you built it, but with Visual Studio 2005, this functionality was removed. You can still auto-increment your assembly version on every build, but it's a complicated custom build step instead of an integrated feature. I'm not sure why this was ...

Why are my Custom Build steps not running in Visual Studio 2010?

I have a Visual Studio project with several Custom Build steps in it, but some of them are simply failing to run. There are no errors and no warnings, and according to the build logs they are running, but they're definitely not. It was all working in older versions of Visual Studio, but it's now going wrong in Visual Studio 2010. ...

How is the Change.MergeSources Field Populated in TFS?

We'd like to generate build notes with the following format: 1) Associated ChangeSets: 2) - ChangeSet 45241, by Joe: "Patching fix for foobar" 3) 'Foo.cs' integrated from dev v. 22 to qa v. 7 4) 'Bar.cs' integrated from dev v. 9 to qa v. 3 So far, we have a custom build step that accomplishes 1) and 2). It looks at the info...

What is the difference between a Custom Build Step and a Post-Build Event?

Both project settings allow me to execute custom commands. What are the benefits or drawbacks of each? ...