[Mono-dev] upgrading an app
Miguel de Icaza
miguel at ximian.com
Mon Sep 18 03:27:47 EDT 2006
> The doc below says that mono picks up changes in the src automatically:
> http://www.mono-project.com/FAQ:_ASP.NET#My_application_fails_if_I_replace_binaries
>
> My question is: how does mono pick up changes in the src files, when we
> replace them? by the date in the file? by md5 checksum?
If the timestamp changes, so its not surprising that you are having
problems with NFS, the client is probably caching the time.
> Also, if we are using a DLL with mod_mono... what's the best way of
> reloading it:
> - "rm + cp" as shown in the URL above; or
> - just move the file over, and use the control panel, as shown here:
> http://www.mono-project.com/Mod_mono#Control_panel
In Unix it is legal to overwrite a file that is currently open by a
process, if you do not rm/cp (which guarantees that the link is broken)
you will alter data behind mono's back.
More information about the Mono-devel-list
mailing list