Enums for Build Flavor and Build Platform in Custom TFS 2010 Build Activities

Posted by Ben Hughes on Stack Overflow See other posts from Stack Overflow or by Ben Hughes
Published on 2010-05-24T02:27:55Z Indexed on 2010/05/24 3:01 UTC
Read the original article Hit count: 781

Filed under:
|
|

Are there enums available in the .NET framework that have values for build flavor (Debug, Release) and build platform (Any CPU, x86, x64 etc)? I haven't been able to find anything on MSDN or Google.

It seems unnecessarily cumbersome to create my own.

For context: I'm creating a custom TFS2010 workflow activity that requires flavor and platform info. Currently these are entered in the build definition as free-from strings.

The default TFS build template has a dialog box (accessible in the build definition editor under Process\1.Required\Items to Build\Configurations to Build) that provides drop-down menus with this info pre-populated. I'd like to do something similar.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET