I've written a feature assembly that includes an SPFeatureReceiver. I can successfully deploy the feature's WSP, the assembly goes to the GAC, and the feature (mostly) does what it's supposed to. However, when I edit the settings here for both the application and web frontend servers in the farm:
c:\inetpub\wwwroot\wss\VirtualDirectories\443\web.config
And add this to configuration/configSections:
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="MyAssembly.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=xxx" requirePermission="false" />
</sectionGroup>
And add this to configuration:
<applicationSettings>
<MyAssembly.Properties.Settings>
<setting> ...
</setting>
</MyAssembly.Properties.Settings>
</applicationSettings>
Those settings are ignored, and the System.Configuration.DefaultSettingValueAttribute values are being used instead. So. Where is this assembly looking for its settings?
Edit
As it turns out, it was trying to load from here:
C:\Windows\System32\WindowsPowerShell\v1.0\PowerShell.config, and sometimes C:\inetpub\wwwroot\wss\VirtualDirectories\30482\web.config (neither of which are the correct SharePoint folders).