This project is read-only.

Proposed Change for DefaultVirtualPathMonitor

Topics: Core, Troubleshooting
Apr 9, 2013 at 9:58 PM
On startup within Visual Studio, DefaultVirtualPathMonitor throws a large number of exceptions. These exceptions occur when file system watchers are created for each module's /views folder. If /views does not exist an exception is thrown.

I prefer to develop with CLR exceptions enabled so that I can can catch and prevent bug. When Orchard throws 20 exceptions on start-up it can be a challenge to step past them. Might the Orchard team be amenable to a patch which removes the use of exceptions here for conditional logic handling? My quick and dirty approach right now is to add [DebuggerStepThrough] so don't get stopped by all of the exceptions, but I am wondering if a long-term solution might be appropriate here.

Apr 10, 2013 at 12:20 AM
Please file a bug, and specify what module is causing this by having no views directory.