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
0
votes
0 answers

Visual Studio .NET Ref-Def-Mismatch on pre-build event

I have a pre-build event in my C# project set to the following: call "$(DevEnvDir)..\Tools\vsvars32.bat" "$(DevEnvDir)devenv.exe" "$(SolutionDir)..\MyApp\MyApp.sln" /build $(Configuration) REM ****** Copy some dependencies ****** ECHO Copy unmanged…
roboto1986
  • 624
  • 2
  • 13
  • 28
0
votes
1 answer

Is code optimization of .NET code affected by renaming it something other than Release?

I have a simple scenario, I've inherited code where the build configurations have very different names than the standard configurations. In particular, our "Production" configuration is more like our release configuration. So I guess I have a few…
Brian Deragon
  • 2,929
  • 24
  • 44
0
votes
1 answer

How to compare 2 build configurations of visual studio 2010 solution?

I have a huge solution in Visual Studio 2010 (more then 30 F# and C# projects). Just now I get a problem with building of solution in different configurations (say, Release|AnyCPU and Debug|AnyCPU). Seems, that problem is in target platform…
0
votes
1 answer

ASp.Net build configuration is always in Debug mode

I developed a Solution in VS2005 for an ASP.net application which also has some class library projects that the ASP.Net project references. I have changed the Build Configuration of the solution to release but strangely, the ASP.net build config…
MSIL
  • 2,671
  • 5
  • 24
  • 25
0
votes
2 answers

using variables in a block from a parallel scope

__block BOOL myBool = NO; __strong MyClass *ptr = self; self.footer.defaultSelectedItem.selectionBlock = ^{ myBool = YES; ptr = nil; }; This works just fine when my Scheme's Build Configuration is set to Debug, but I get an EXC_BAD_ACCESS…
Jacksonkr
  • 31,583
  • 39
  • 180
  • 284
0
votes
2 answers

Disable controller based on compiler switch by build configuration

I'm using MVC3 and I need to deploy the same website to multiple locations, but with certain controllers disabled. The controllers to disable share the same base controller class. I think I should be able to do this using different build…
enashnash
  • 1,578
  • 1
  • 15
  • 36
-1
votes
2 answers

Executable with many sources in subdirectories - should they be collected into libraries?

Suppose I have a project myproj with a single executable myproj_exec that depends on code in hundreds of files. Let's choose C++ as a language (although it could be C and perhaps one of any number of compiled languages). Some of the files are more…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
-1
votes
1 answer

Why doesn't CMake-generated make clean delete files created with configure_file

I'm using CMake for a project, and generating some configuration .h files with a configure_file() command. This works well enough, but - if I make clean, the generated file is not deleted - nor is it overwritten when I invoke cmake again with…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
-1
votes
1 answer

qreal equality fails in release, but works in debug (and cast to float also works)

In my code, I have a large number of checks for equality... for example: int main(int argc, char *argv[]) { QApplication a(argc, argv); QGraphicsLineItem* x = new QGraphicsLineItem(50, 50, -50, -50); QGraphicsView view(new…
Thalia
  • 13,637
  • 22
  • 96
  • 190
-1
votes
1 answer

cudaMemCpy2d error (cudaErrorInvalidValue) when running "debug" configuration

This is driving me crazy. I can't figure out for the life of me why this is happening. Basically, I have this code that was working totally fine under Linux (Nsight eclipse edition). I tried making it compatible with Windows by creating a Visual…
Maghoumi
  • 3,295
  • 3
  • 33
  • 49
-2
votes
1 answer

Visual Studio does not compile into debug and release directories

I'm working with Visual Studio 2017. I've inherited a web project and am trying to introduce build configurations for the config transforms. What I am finding odd is that no matter what build configuration I select, the project always compiles to…
Random
  • 1,896
  • 3
  • 21
  • 33
1 2 3
12
13