How to place resx files in App_GlobalResources folder using solutions (wsp)?

jaloplo picture jaloplo · Mar 12, 2009 · Viewed 7.1k times · Source

I've made a lot of solutions (wsp) for SharePoint 2007 and I have almost automated all installation steps needed, but there is one thing I cannot automate.

How can I make a solution that places resources (resx) files in the App_GlobalResources folder of the virtual application?

Thanks in advance.

Answer

DylanW picture DylanW · Mar 12, 2009

You'll need to write a Feature Receiver that copies the files, because there's no way to deploy them directly through SharePoint configuration files.

I found this blog post useful when I had to do this: SharePoint Resources, Types, Use and Deployment