Questions tagged [post-build]

Questions relating directly to activities and actions that take place following the successful build of any software.

In software, a build is the process of constructing software such that an output is produced.

The build is logically split into stages, with post-build occurring after the main build has completed, typically on completion of a successful build.

At the post-build state, many build tools offer the ability to carry out additional scripted actions to allow further functionality to be executed on the built software.

131 questions
0
votes
1 answer

How to use a if condition while using INSTALL in cmake?

I am trying copy certain dll's to Output folder where the generated binary resides and some of the dll's are visual studio version specific. I tried something similar to below template but it gives me errors. INSTALL(FILES ../x.dll …
moooni moon
  • 333
  • 1
  • 5
  • 19
0
votes
1 answer

Unity Playscape error during post-build on ios

Using Playscape sdk and building to IOS gives me strange errors: anyone had this errors?
0
votes
1 answer

Automated Visual Studio Source Changes on Build (Update DBML etc.)

Every time I rebuild by DBML, I have to adjust settings for auto generated value etc. for individual fields. Is there a built-in tool which I could use to automate my changes in the DBML when I build? I'm using Visual Studio 2008.
Alex
  • 75,813
  • 86
  • 255
  • 348
0
votes
1 answer

Hex file generation without compilation

I heard of a use-case / tool where in a Hex file (executable that can be flashed into a Embedded memory area) can be generated without Compilation or linking. I am amazed such a thing is possible. Any experts in this area who can tell, What the tool…
DarkKnight
  • 131
  • 10
0
votes
1 answer

Post Build Events Customization In Visual Studio

Is there a way to customize the post build event macros, I would like to move the new assembly to a sub folder in the same directory named by the version of the assembly i.e. copy $(TargetDir)$(TargetFileName)…
Ori
0
votes
0 answers

Sgen errors produced by .NET Reflector

I put an sgen.exe command in target (post-build) of my project's .csproj. It works fine, the command generate XmlSerializers.dll and project uses it as expected. The problem comes when someone that has the project also uses .NET Reflector to…
Didako
  • 1
  • 3
0
votes
2 answers

Gradle Script as a Jenkins Post Build Action

Is it possible to run gradle script as a post build action on Jenkins? I did a quick search on Google about it and couldn't find anything except this link: https://issues.jenkins-ci.org/browse/JENKINS-19624 Are there any reasons why we cannot…
leventunver
  • 3,269
  • 7
  • 24
  • 39
0
votes
2 answers

PostBuild in Visual Studio 2008 not working under Windows 7 or Windows 8.1

I defined a post-build-event in Visual Studio 2008: %ProgramFiles%\TortoiseHG\xy.exe When compiling under Windows 7 or Windows 8.1 (x64) I got the following error-message: Error 1 The command "%ProgramFiles%\TortoiseHG\xy.exe" exited with code…
etalon11
  • 895
  • 2
  • 13
  • 36
0
votes
0 answers

using a relative path in PostBuild.cmd for postbuild event visual studio

I am wanting to call a command file in visual studio 2013 in a post build event to keep things a little cleaner and more manageable... the postbuild file lives in the project directory and is getting called.... however because i am using a relative…
0
votes
1 answer

Post-build Event Command Line

I've looked at the M$ docs for Post-build Event Commands and don't see any thing like what I need ( http://msdn.microsoft.com/en-us/library/42x5kfw4.aspx ), -> conditional checks here's my Post-build Event Commands (VS2013 Ult): copy $(TargetName).*…
0
votes
2 answers

How to create a Visual Studio 2013 extension for post-build actions

In a huge VS 2005 solution, we used Visual Studio VB macros to perform custom post build actions for all projects. Because VS 2013 does not support macros any more, I'm searching for a way to do those actions using a VS extension. I got stuck…
joe
  • 8,344
  • 9
  • 54
  • 80
0
votes
2 answers

TFS post-build event: execute command on drop location machine?

I've configured a build that has no problem copying its outputs to a clean VM. Now I want to define a post-build event that invokes the installer on the drop machine. No luck as yet. The event looks like…
batchman
  • 31
  • 4
0
votes
2 answers

A tool to allow protected AND internal?

This is a follow-up for this question. I have a security sensitive class A and a hierarchy of wrappers that use it (classes B and ChildOfB). B must initialize an instance of A and allow ChildOfB to use it. The instance of A should be accessible…
Aleksei Poliakov
  • 1,322
  • 1
  • 14
  • 27
0
votes
2 answers

Is there information available when executing jenkins postbuild script about job status

I need to run certain shell command if build fails. Is there any variable passed to shell that contains such info? Or maybe I can find it in file? I need something like that: if [ $build_status == "FAIL" ] then do_the_magic fi I have already…
Jarosław Jaryszew
  • 1,414
  • 1
  • 12
  • 13
0
votes
1 answer

DEL "%~f0" at end of post-build batch file causes error code 1

I'm currently trying to create a post-build script in Visual Studio to clean up the directory I build releases to. The batch file executes fine and all expected behaviour takes place but in Visual Studio I get a message saying "Call post-build.bat"…
1 2 3
8
9