I'm developing a SharePoint 2010 solution which consists of some web parts and other components. Furthermore the solution needs a application pages in the Central Administration for configuration.
So my solution contains an extra feature which places a custom actions in the Central Administration menu that links to a application page providing the configuration. The feature has the scope WebApplication
and uses the Attribute AutoActivateInCentralAdmin
set to True
so the feature is automatically activated in the Central Administration when the solution is deployed to a web application. This part of my solution works as expected.
But I've got some issues regarding the resource files which are used by the application pages in the Central Administration as they only get deployed to the App_GlobalResources
folder of web application the solution was deployed to but not to the App_GlobalResources
of the Central Administration.
So I'm wondering why to use the AutoActivateInCentralAdmin
when there is no automatic deployment of the resource files to the App_GlobalResources
folder of Central Administration.
What is the best way to deploy the resource files to the Central Administrations App_GlobalResources
folder whenever the solution is deployed to any web application in the farm? Is there an automatic way to this?