slow-cheetah icon indicating copy to clipboard operation
slow-cheetah copied to clipboard

Transform config

Open sayedihashimi opened this issue 11 years ago • 0 comments

If you care about this feature vote for it at http://slowcheetah.uservoice.com/forums/185106-general/suggestions/3385316-add->the-concept-transformconfig, we are only working on the most voted items

Web Projects support the concept of publish profiles, and have the concept of a profile specific transform. The transforms are executed in the following way. Web. config -> web. {BuildConfig}.config->web.{PublishProfile} .config

If the transform file is not present, the transform is simply skipped.

SlowCheetah should add this Concept to other projects as well. Instead of it being publish related we should introduce the concept of a TransformConfig. We will need the following support:

  1. UI to add/remove the Transform Config values for a project
  2. UI to set the current Transform Config for a given solution
  3. Build support to transform using Transform Config after the build specific transform

Implementation Notes

-Each project will have its own list of transform config values -The list of possible values will be stored in an MSBuild item list named ScTransformConfigs -The value for the current transform config will be passed in the property ScTranstormConfig -There will be a solution wide setting in VS -We should create a gesture for the user to set the current TransformConfig valve -On build in VS we should pass in this value -When a user invokes Add Transform the transform config files will be added as well

This should work with linked files as well

sayedihashimi avatar Nov 14 '12 02:11 sayedihashimi