I have a site that uses an external virtual directory (being shared with other websites)
When I load the project with iis-express (visual studio 2017 debug) in order to see these files I've configured them according to this article: How to create a virtual directory in iis-express
My problem is a 500 error when trying to access anything in those directory (static content) due to missing assembly in non-existing bin directory (which is actually sitting on my main website.
How can I prevent the virtual directory from trying to load any assembly when serving this static content ? The virtual directory web.config doesn't hold any reference to those assemblies.