I create a web site using VS2005, then I use the Web Deployment Project to provide a deployment folder. I set to merge all outputs to a single assembly.
However I find that the App_GlobalResources folder is disappeared. I find App_GlobalResources.complied file under bin folder.
The problem is that if I change the values, then I need to build the web deployment project again, then deploy again. How can I work as similar as VS2003? i.e. I just update the resources file and don't need to build any projects again.
These files are compiled into assemblies and placed in the Bin directory. No App_GlobalResources subdirectory is created under the main output directory. If the configuration file specifies
appliesTo="All", .resx and .resources files are copied to the output directories. They are not copied if they are referenced by a
BuildProvider.
I try to add the appliesTo="all" to web.config, but the error is the "appliesTo" attributes is not declared."
epjames
Member
177 Points
39 Posts
The App_GlobalResources folder is missing in the Web Setup Project
Aug 09, 2006 10:11 AM|LINK
Dear all,
I create a web site using VS2005, then I use the Web Deployment Project to provide a deployment folder. I set to merge all outputs to a single assembly.
However I find that the App_GlobalResources folder is disappeared. I find App_GlobalResources.complied file under bin folder.
The problem is that if I change the values, then I need to build the web deployment project again, then deploy again. How can I work as similar as VS2003? i.e. I just update the resources file and don't need to build any projects again.
I find the article - http://msdn2.microsoft.com/en-us/library/ms229863.aspx, and has the following message:
These files are compiled into assemblies and placed in the Bin directory. No App_GlobalResources subdirectory is created under the main output directory. If the configuration file specifies appliesTo="All", .resx and .resources files are copied to the output directories. They are not copied if they are referenced by a BuildProvider.
I try to add the appliesTo="all" to web.config, but the error is the "appliesTo" attributes is not declared."
<compilation debug="true" strict="false" explicit="true">
<buildProviders>
<add extension=".resx" appliesTo="all" type="System.Web.Compilation.ResXBuildProvider" />
</buildProviders>
</compilation>
Thanks,
James