IIS7 doesn’t monitor changes across symlinks

filesiis-7symbolic-link

I've used the mklink utility to create a symlink to a directory of web content. IIS7 doesn't "see" changes to any classic ASP files in this linked directory without issuing an iisreset. I've disabled caching and file changes are picked up on other static files (such as .html) but .asp files are ignored.

Best Answer

This is the answer your're looking for.

https://stackoverflow.com/questions/6698481/caching-problem-with-symlinks-on-iis-7-5

IIS doesn't know when a file over a symlink had been modified by visual studio. But you can tells iis to not cache local files in memory. Only use on developement environment... in production, you should recycle pool after an update if you use symlink.