的實例,我有以下激活碼: public override void FeatureActivated(SPFeatureReceiverProperties properties)
{
// Create a new list and populate it.
using (SPWeb web = properties.Feature.Parent as SPWe
我對SharePoint開發非常陌生,我只是試圖將XML文件添加到Feature以引用Event Receiver中的XML文件內容。 看來,一般的建議是使用這樣做就像這個SO問題: How to retrieve data from an XML file in a Sharepoint 2010 Feature Event Receiver? 然而,當我引用RootDirectory屬性我的代