Questions tagged [custom-build-step]
79 questions
1
vote
1 answer
Need to add reference from one VSTS Build task to another task
I am working on creating custom vsts build task using Hosted agent and powershell script. I just want to add reference of existing task available out of the box in vsts (Publish Build Artifacts). Is there any way to reference this task in our custom…

Rinkesh
- 132
- 1
- 1
- 11
1
vote
0 answers
Visual Studio: Can I add a custom build step without adding a file? (C/C++)
Not sure what the best way to explain what I want is, but here goes...
I have a header file ('generated.h') that is generated from another header file ('interface.h') using some python script.
If I add a custom build step to generated.h, that's a…

JamEnergy
- 720
- 8
- 21
1
vote
1 answer
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?

tloach
- 8,009
- 1
- 33
- 44
1
vote
1 answer
Xsd validation vs2010
Motivation:
I want Cause compilation error when xml in project doesn't meet its xsd.
Tried to change build action of the xml to compile but it didn't work I suppose that VS2010 trying to compile it with .NET compiler.
Is there any way to achieve it…

Sergey Kucher
- 4,140
- 5
- 29
- 47
1
vote
1 answer
Custom Build Step in Visual C++ 2010
I have a big project with an external build tool to build glsl files which converts it to c++ header file (a python script that generates this header file) now everytime i modify any of the glsl files, i want the build system to run this external…

Sundar Iyer
- 59
- 1
- 4
0
votes
1 answer
How do i build for custom types in visual studios 2010?
I knew how to do it in older versions. I have several files that are .abc and .xyz. If the file has been changed i'd like to run my build script then build my C++ files.
How do i do it in VS2010?
user34537
0
votes
0 answers
VS2019 Edit And Continue error "Edits were made which cannot be compiled" for custom file generating cpp
I am using custom language say FileName.xyz which on separate tool precompilation/preprocessing temporarily generates C++ files FileName.cpp, which in turn is built using VS build to an executable FileName.exe(and PDB for temporary C++ files…

Peeyush
- 31
- 6
0
votes
0 answers
How to build a jenkins pipeline choosing 4 path options to copy .war files to a selected tomcat's webapps folder?
I am new on jenkins and I have this situation here. Devs used to deploy by themselves .war files to various paths using a type of manual versioning.
I put my server with NFS share with those repository of files and I would like to build a pipeline…

Alan Aguinaga
- 21
- 4
0
votes
1 answer
VS2010 custom build tool for generating .h file
I'm trying to integrate a custom build tool in VS2010 that generates a .h-file from a source file. I've created a .xml, .targets and .props for the step. The XML is mostly copy-pasted from the MASM-file and ends with:

user408952
- 882
- 9
- 23
0
votes
1 answer
Auto version files in VS Custom Build Step
I want to do two things in a custom build step (pre build) but my batch file skills are a little rusty to say the least so am having a little trouble figuring it out!
I need to:
Find all resource files and update the version to…

Chris
- 26,744
- 48
- 193
- 345
0
votes
1 answer
How to add build steps in Qt Creator for every project?
Using Qt Creator (latest released version, "Qt Creator 5.0.3 based on Qt 5.15.2"), the default build steps when creating a new project using meson are wrong.
My project configuration is the following: I have my source code, meson build files in a…

Bebel
- 49
- 6
0
votes
1 answer
Rules for Custom build's tag check for directories changed in Visual Studio 2019?
Lets make obscure question simple...
We have a solution which consists of many projects and some of them have set Custom build events using 3rd party stuff for some dark magic compilation and looks similar like this:

CJ_Notned
- 248
- 2
- 11
0
votes
1 answer
visual studio custom build step to generate headers
I have a project with headers that is normally generate as needed with command line interface. But i want to add this generation step to visual studio 2015 (toolset v141, c++) as a custom build step. So i did it and it actually works but it…

Hattori
- 351
- 4
- 15
0
votes
1 answer
Build definition mirroring repo to external git repo on push in VSTS / Azure DevOps
As the title indicates, I have an issue making a build step in VSTS / Azure DevOps, where I would like to update an external git repo when I push to ie. my realease or master branch. I've tried several add ons from the marketplace, but none of them…

phpNoobish
- 111
- 1
- 12
0
votes
1 answer
Jenkins configuration to DSL code conversion
I am trying to write the corresponding dsl code for a jenkins job and i am stuck at Build step and don't know how to code Send Files or Execute commands over SSH.
I have tried the XML to DSL converter plugin but it is also excluding this…