1

I have 10 projects in Visual Studio solution. There is a requirement to run all projects in DEBUG mode. I want to configure only one project to be run in RELEASE mode (need performance boost). Is it possible to do?

apocalypse
  • 5,764
  • 9
  • 47
  • 95

1 Answers1

4

Click on Solution then choose Configuration Manager. You can change build type for every project in solution.

More information can be found on MSDN.

csharpfolk
  • 4,124
  • 25
  • 31
  • Hmm I'm stupid :) It will be enough to set checkbox on 'Optimize Code' in project properties? – apocalypse Feb 04 '16 at 17:36
  • They are other settings that are changed too e.g. availability of `DEBUG` symbol and generation of debug info (this option can be seen after clicking Advanced button on Build tab in solution properties). – csharpfolk Feb 04 '16 at 17:38
  • Also some MsBuild task may use `Configuration` property that will be not set to Debug by simply enabling 'Optimize Code'. See http://stackoverflow.com/questions/20800726/msbuild-condition-isdebug – csharpfolk Feb 04 '16 at 17:40