Resource file changes in .NET 2 environment -
05-31-2006
, 09:23 PM
Hi,
We have discovered an issue related to making changes to resource files on
our test web site where once changed an exception was thrown every time a
request was made to the site.
The compilation and deployment model we are using for application is to
compile all code, but to deploy web pages, user controls and resource files
(this is a similar compilation model to that of Asp.Net 1.x); this allows for
changes to be made to these files (for example to allow labels, errors to be
customised) without a full build and deployment. .Net compiles these files
into assemblies when they are first requested and re-compiles when they are
changed (theoretically).
After a little experimentation it appears that .Net does not monitor changes
to resource files as it does for web page and user controls.
Any information/ideas/comments welcomed. |