Questions tagged [buildconfiguration]

The process, mechanism and results of configuring the build of a source-code project or hierarchy-of-files into its target artifacts (executable files, object libraries, generated documents etc.)

191 questions
97
votes
4 answers

Build Configuration: Mixed Platform VS Any CPU

What's the difference between different Build Configuration settings e.g. Any CPU, Mixed Platform, WIN32 etc in Visual Studio.
Rohit
  • 6,365
  • 14
  • 59
  • 90
90
votes
28 answers

"the outputpath property is not set for this project" error

I have a multi project solution in Visual Studio 2008. I just added a new Configuration called Release-VersionIncrement to the solution, specifying "use release" configuration as baseline. All project files were updated with that configuration.…
laconicdev
  • 6,360
  • 11
  • 63
  • 89
87
votes
1 answer

Project reference conditional include with multiple conditions

Here's a snippet from my csproj file: {4F9034E0-B8E3-448E-8794-CF9B9A5E7D46}
Charlie Salts
  • 13,109
  • 7
  • 49
  • 78
85
votes
3 answers

#if debug --> #if myOwnConfig?

is there a way in Visual Studio to use a custom Configuration like "#if DEBUG" I need a "#if OFFLINE" as my Build-Config's name is "Offline" (only for further debug-purposes too)... Thanks!
IntegerWolf
  • 1,232
  • 1
  • 11
  • 21
41
votes
11 answers

Xcode: TEST vs DEBUG preprocessor macros

When creating a new project with unit tests, Xcode sets the build configuration to Debug for the Test scheme (same for the Run scheme). Should I differentiate between Run (Command-R) & Test (Command-U) schemes? I.e., should I create a new Build…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
25
votes
3 answers

Using MSBuild to Build Multiple Configurations

I'm trying to edit my project file to enable me to have a project that builds multiple build configs at once. I've done this using a batching approach and using the MSBuild task (see below). If I run the script, I get an this error: Error 103 The…
p.q
  • 355
  • 1
  • 3
  • 5
24
votes
2 answers

Should tests run in Debug or Release configuration in dotnet core

I am using dotnet core 2+, but the question is likely much more generic. My CI pipeline currently looks like this: dotnet build -c Release dotnet test dotnet public -c Release --no-build For the test step, it uses the default Debug configuration,…
eddyP23
  • 6,420
  • 7
  • 49
  • 87
15
votes
2 answers

What's the difference between a "release" and a "master" in VS?

"Visual Studio Express 2013 for Windows" allows me to compile debug, release or master. While the difference between debug and release is known, I've never heard of a master compilation option. What does it do different from release?
o0'.
  • 11,739
  • 19
  • 60
  • 87
14
votes
1 answer

How can I associate a project to an agent pool on TeamCity?

For my automated tests I have a project added to TeamCity server and 2 Agent Pool, one is a Windows Server and the other one is a MAC. The default agent pool is WIN but I wanted to run my tests on the MAC server. To change the agent pool to MAC, I…
Mahsa Mortazavi
  • 755
  • 3
  • 7
  • 23
13
votes
1 answer

How do I set basic options with meson?

I'm trying to configure a project with meson. Specifically, I'm trying to set some of the options. meson config tells me, among other things: Core options: Option Current Value Possible Values …
einpoklum
  • 118,144
  • 57
  • 340
  • 684
13
votes
4 answers

Android - use ant to create build configurations that change configuration values

What I want is a way to have settings that are dependent on build configuration. To give a specific example, my android application connects to a web service. In development, I want the service url to be pulled in from a configurable value. In…
Josh
  • 16,286
  • 25
  • 113
  • 158
12
votes
2 answers

How to set Xcode project dependencies with different build configurations?

I have an Xcode 7.3 workspace with three projects, App, FrameworkA, and FrameworkB. Each project has a single target. This is iOS, so the framework targets are Cocoa Touch Frameworks, which means frameworks containing dynamically linked shared…
algal
  • 27,584
  • 13
  • 78
  • 80
12
votes
1 answer

Missing Debug|Any CPU build configuration for projects and defaulting to Debug|x86 on Windows x64

I've just recently reinstalled Windows 7 x64 on my box. The installation succeeded, and I've had no issues with the operating system as a whole. I believe there is a configuration issue with either Windows or .NET x64. Symptoms The default build…
Crippledsmurf
  • 3,982
  • 1
  • 31
  • 50
11
votes
5 answers

Swift: iOS Deployment Target Command Line Flag

How do I check the iOS deployment target in a Swift conditional compilation statement? I've tried the following: #if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_8_0 // some code here #else // other code here #endif But, the first expression…
ma11hew28
  • 121,420
  • 116
  • 450
  • 651
10
votes
1 answer

In CLion, how do you set CMakeLists.txt option values?

I'm trying to use CLion (latest version - 2019.3) to work on a source repository of mine, which already uses CMake (i.e. has a CMakeLists.txt). Now, the package has some options regarding which targets to build; by default it builds just a few, but…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
2 3
12 13