Deploy Resource Files in SharePoint…


While doing SharePoint projects definitely you will have to use resource files to well mange and localize your resources. Not like an ASP.net application SharePoint requires you to deploy resource files to different locations.

To be clear, different operations will look the resource files in two different locations(Web parts refer one location and the resource entries in a feature manifest file looks in another etc…). The two resource locations SharePoint will look into are,

1) C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Resources\

2) The web application Virtual Directory (typically C:\inetpub\wwwroot\wss\VirtualDirectories\ {the web application port number}\App_GlobalResources\

So when we deploy a solution what typically done is coping the resource files to these locations manually.
 
How to overcome these manual steps?
Continue reading