开发者

Sharepoint feature environment-dependant (UAT, PROD) properties

I'm developing a feature for MOSS which stores some environment-specific config data in feature.xml (like connection string).

I would like to have a sepa开发者_如何学Pythonrate .properties file for each environment and make it automatically substitute appropriate values to where needed (like feature.xml) while building. Is that possible and what tools can I use (I suppose, NAnt?)

Thank you!

Regards, Anton


Wouldn't it be easier to just store all those values in a (hidden) list in the site collection, that way your solution stays clean and env. independend, allowing for values to be set through the UI (or powershell even) instead of including them in your solution, which IMHO isn't very clean architecture / maintenance wise.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜