简体   繁体   中英

How to programmatically update SharePoint Feature.xml

I would like to develop a process by which the feature.xml is updated to include information such as build version, time of activation, and who the feature was activated by. This is extremely useful information in a multi-farm environment.

I have considered a pre-build event in Visual Studio to use a script to update the feature.xml. Another approach would be to use feature receiver. Your Thoughts?

I don't think its a good idea do that. Its better to use SharePoint LOG files for this purpose.

Once the feature.xml files are deployed, they are copied to 12 Hive and should be left entirely for SharePoint to manage.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM