Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Solution Configuration Name
Solution Configuration Name

Solution Configuration Name

ceztko

|
992 installs
| (1) | Free
A Visual Studio extension that sets SolutionConfiguration and SolutionPlatform build macros
Download

Note: For the Visual Studio 2013/2017 version click here.

 

This extension creates two build macros, SolutionConfiguration

and SolutionPlatform, denoting the active solution configuration name

and platform. It does so by plugging in the MSBuild infrastructure.

 

FAQ:

1) Does the extension work in headless builds (devenv.com)?


        No, and I don't know any way to make it load in such environment.
        For build farms a good workaround is to set an environment variable
        with the same name (%SolutionConfiguration%) in the build machine.
        VS will then copy all environment variables in same name macros.
        This allows to work seamlessly in both IDE and headless builds.

 

Changelog:

  • 1.0.4: Safer projects marked as dirty
  • 1.0.3: Fixed/better early setting of the macro (especially on VS2010)
  • 1.0.2: Fixed projects marked as dirty. Not all projects were scanned
  • 1.0.0: First release

 

Source code:

https://github.com/ceztko/SolutionConfigurationName

 

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft