Copy App_GlobalResources on Deployment

I have an ASP.NET web application that was previously published using the VS2008 publish function.

I recently switched to Web Deployment Projects for VS2008. When deploying, I noticed that the ~ / App_GlobalResources directory is no longer copied to the release folder on the assembly.

How can I make sure the directory App_GlobalResources is copied?

+4
source share
2 answers

Network deployment projects use aspnet_compiler.exe . Quote from the documentation :

These files are compiled into assemblies and placed in a bin directory. No App_GlobalResources subdirectory is created under the main output directory. If the file configuration specifies applyTo = "All", the. Resx and .resources files are copied to the output. They are not copied if referenced by BuildProvider.

All resources are compiled into assemblies and placed in the bin folder. This is a way to develop web projects.

+1
source

Cannot copy the app_globalresources directory. On the Web Deployment project property pages, I needed to check "Processing as a library component."

This ensured the creation of the deployment.resources.dll file, which was not the case before.

+1
source

All Articles