user2708299
user2708299

Reputation: 1

TFS 2012 builds builds mixed configuration instead of release

I configured TFS to build my solution in Release|All CPU. When build is done out of 3 project, 1 appears to be in release (no pdb file) while two others in debug (pdf files are present). Any ideas why? I want all to be in Release. Thanks.

Upvotes: 0

Views: 77

Answers (2)

T.S.
T.S.

Reputation: 19348

Go to solution configuration manager and make sure that all projects are built to Release|any CPU. Also, check compile options that it produces or doesn't produce PDB file. The truth is, you want "pdb" even for release but you can keep it aside, so later you can debug production code as needed.

Upvotes: 0

Obsidian Phoenix
Obsidian Phoenix

Reputation: 4155

Check your Build Configuration in the Solution - It is possible to configure your "Release" config so that certain projects don't build, or build in different configurations. This is handy when you want certain projects to build slightly differently for each config. It sounds like your solution config is messed up:

  • Open your Solution
  • Click on Build >> Configuration Manager
  • Select Release/Any CPU
  • Ensure that each of the projects in your solution have the desired value in the configuration column

Configuration Manager

Upvotes: 1

Related Questions