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
1
vote
1 answer

Post-build event xcopy - how to copy linked files?

In project i have as normal files as links (shortcuts) to existing file: In post-build event i want to copy all files, including links (but as real file) to other directory, for example: "%RELEASEPATH%\Code\" Using default xcopy command it do copy…
Ony
  • 399
  • 6
  • 16
1
vote
1 answer

How can I pass a Visual Studio project's assembly version to another project for use in a post-build event?

I have a solution with 2 projects: My Application 1.2.54 (C# WinForms) My Application Setup 1.0.0.0 (WiX Setup) I would like to add a post-build event to the WiX Setup project to run a batch file and pass it a command line parameter of My…
Coder7862396
  • 415
  • 1
  • 6
  • 13
1
vote
2 answers

cmake executable doesn't get rebuilt

I have a project structure as follows. A.dll depends on B.exe, B.exe depends on custom target C. The custom target C generates some files, which B.exe packages in an archive as a post build step on target B. When I first build A.dll, since it is the…
voidMainReturn
  • 3,339
  • 6
  • 38
  • 66
1
vote
1 answer

How to send a http request in Visual Studio's Post-build event

I am working on a Asp.net web form project. After build, when I open http://localhost/myProject/page1.aspx, It will take about 10 seconds to warm up the project. I want VS send a http request to http://localhost/myProject/ automatically every time…
Rm558
  • 4,621
  • 3
  • 38
  • 43
1
vote
2 answers

How can I invoke the post-build script without a build!

does anyone know how I can have the post build action execute without doing a build? There are loads of xcopy commands and it would be nice to use them on their own... but you cannot put them into a separate cmd file because of all the VS…
krisdyson
  • 3,217
  • 7
  • 43
  • 86
1
vote
2 answers

Post build testing with omake

Is there any way to add a post build command to an omakefile? I want it to automatically run unit tests everytime a build is successful, but am not sure of the best way to do this.
a_m0d
  • 12,034
  • 15
  • 57
  • 79
1
vote
1 answer

TFS 2010 after successfull build running a script

I am trying to build my solution at the TFS2010, after successfull build, I am trying to make TFS2010 run another application, like VS Post-build event. It can be possible? and How can I make It?
1
vote
1 answer

Hudson post build step security issue

Hudson jobs can be configured to have a post build step which can execute shell commands as an option, accidently or intentionally someone can wipe out the hudson home directory just by running rm command is there a specific set of permission of…
1
vote
1 answer

Questions about .NET and Xenocode Postbuild

Referring to this topic (and accepted answer). Isn't .NET Windows only (except for emulators)? How will using Xenocode Postbuild affect the portability of the application? Will compiling my application using Xenocode Postbuild affect the size/speed…
Phoexo
  • 2,485
  • 4
  • 25
  • 33
0
votes
1 answer

Use AssemblyInfo.cs VersionNumber as foldername in Post-Build Command Line or any other alternative ways

I wanna use Version Number stated inside AssemblyInfo.cs as foldername in Post-Build Command Line.. How can I extract out the version number as a variable to set as the folder name? or is there any other alternative ways? I tried using sed tools and…
I Yeu C
  • 636
  • 2
  • 7
  • 13
0
votes
1 answer

How could I use references in post build task plugin of hudson

I have recognized that post build task plugin of hudson will provide an excellent service for development. The plugin allows us use java regex in log text, and the demo shows that we could pass the value matched in hudson log to the…
Charles
  • 3
  • 2
0
votes
1 answer

What is the right post build Ant target in android generated project file?

I am using Android 2.3 generated build.xml to compile my Android app. I am trying to integrate the ant build with master build process. The master build process likes to copy all the generated apks to a specific folder. I see that Android build.xml…
videoguy
  • 1,732
  • 2
  • 24
  • 49
0
votes
1 answer

Not able to send email in jenkins using aws ses

I am building a pipeline in jenkins. Where an email is always sent as a post action I set up smtp in aws using SES and installed email extension plugin in jenkins, I configured the email extension plugin using smtp server details. My SES is in…
0
votes
2 answers

Executing POST_BUILD commands based upon file dependencies

I have a DLL POST_BUILD step that copies the DLL to directory A. Suppose I then delete the file from directory A. I then hit F5 inside Visual Studio and the file is not copied. What are my options here? How do I specify that there is a set of…
bgoodr
  • 2,744
  • 1
  • 30
  • 51
0
votes
1 answer

Azure DevOps Deployment : E: Could not open lock file /var/lib/dpkg/lock on Azure Cloud

I need to install a pre-built environment for my application to be deployed, with a bash script that i add to parameters. #!/bin/bash apt-get install build-essential python3-dev python3-pip python3-setuptools python3-wheel I got the permission…
1 2 3
8 9