Questions tagged [custom-build]

61 questions
25
votes
3 answers

Run a Visual Studio custom tool at build time

I have a script that will convert a text file into a resource file, so that I can have multiple language support by having text files for different languages converted into different resources. Once I run the script to get the resx file, I then…
mmr
  • 14,781
  • 29
  • 95
  • 145
16
votes
2 answers

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

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…
RichieHindle
  • 272,464
  • 47
  • 358
  • 399
11
votes
1 answer

Extend Visual Studio (2010+) Item Type handlers

When looking at the file's properties in Visual Studio (2010 and above), it is possible to set the Item Type in the General section. For instance, for C++, the item type is "C/C++ compiler". There is a "Custom Build Tool" type available, but it has…
GaspardP
  • 4,217
  • 2
  • 20
  • 33
10
votes
1 answer

Visual Studio 2015 Update 1 and XAML build templates

So I am going to ask my original question, but then answer it because I found a solution. Since I recently upgraded my dev box from VS 2015 to VS 2015 Update 1, my custom XAML template encountered an error that I didn't seem to cause. I was…
7
votes
2 answers

virtualenv doesn't copy all .py files from the lib/python directory

Maybe I'm no clear on how virtualenv works, but if I run virtualenv with the --always-copy flag, I'm expecting all the files inside /lib/python to be copied. So I create a virtual env virtualenv -v --always-copy myenv Output of that is Creating…
bouzafr
  • 71
  • 1
  • 3
6
votes
2 answers

How to use external build system for Visual C++ 2013 project?

Is it possible to use an external build system for VC++ 2013? I want Visual Studio do nothing but build by invoking my build tools. I am thinking about something like this: Put all build command in batches. Invoke a project-level build batch by…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
5
votes
3 answers

How do I resolve error MSB6006: "cmd.exe" exited with code 3?

I am getting the following error when building my code: C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 3. Done executing task "CustomBuild" -- FAILED.…
4
votes
4 answers

How to use fabric js (html5-Canvas Library) custom build in ionic project

I am working in ionic application that enable to create graphics. I am using fabric js letest version 3.2.0 and want ot use touch gesture. I try to clone fabric js repository into my pc and try to build custom build using following command : node…
Mayur Kukadiya
  • 2,461
  • 1
  • 25
  • 58
4
votes
2 answers

React Native - Custom Build from fork

I'm sure I'm missing something painfully obvious, but I can't figure out how to use a custom build of React Native. Here is what I've done so far: Forked React Native from github Made the changes I needed to make to ReactAndroid Ran the gradle…
doostin
  • 237
  • 2
  • 11
3
votes
0 answers

Visual Studio 2010: Custom Build Rules for matching filenames

I have a custom build rule (.props, .targets, .xml files) in my VS2010 project that compiles all files with a certain file extension with a 3rd party tool. However, I would like it to only be applied to files with certain filenames. The problem is…
3
votes
4 answers

How do you a configure a Visual Studio custom build tool to depend on a lot of files?

I need to make sure a custom build tool that operates on a lot of files is always run when one of those files are changed. I know you can specify "Additional Dependencies" for the custom build tool, but is there a better way than specifying one…
Carl
  • 43,122
  • 10
  • 80
  • 104
3
votes
1 answer

Why does a custom activation function cause network both zero loss and low accuracy?

I was trying to build a custom activation function using tflearn by making following changes: add my custom activation function to activation.py def my_activation(x): return tf.where(x >= 0.0, tf.div( x**2 , x + tf.constant(0.6)) , 0.01*x) and…
3
votes
1 answer

Create and read temporary file with Bazel

I am trying to setup my custom build system for TensorFlow using Bazel. I need to create a temporary file during the configure step that I will use as a cache during the building step. I was able to create it in my .bzl file…
Zakor
  • 78
  • 8
3
votes
1 answer

Where is the right place to put browser-sync in polymer custom build's gulpfile?

I'm using latest https://github.com/PolymerElements/generator-polymer-init-custom-build And want to add Browsersync to the Polymer custom-build gulpfile.js But I can't understand where is the right place for it in the Polymer custom-build's…
3
votes
1 answer

TFS custom build agent scope logs being overwritten.

We have a custom build which makes use of our build agents multiple times throughout the build process (this was the design of the creator who is no longer at our company). We've just recently discovered that the…
Ben
  • 704
  • 4
  • 10
  • 25
1
2 3 4 5