开发者

Passing MSBuild Parameters to Web.config XDT Transformation

I need to pass some parameters which should be used during XDT Transformation of my Web Application projects.

Creating multiple Web.(configuration).config is not enough for me.

Is there anywa开发者_运维问答y to do that ?


You could use something like the Detokenise task (from the MSBuild Extension pack http://www.msbuildextensionpack.com/).

This would allow you to perform some token replacement in your config transformation files (web.[configuration].config) prior to running the Transform task.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜