Когда я запускаю свое веб-приложение ASP.Net 4.0 в режиме отладки, я получаю следующее исключение:
System.Web.HttpException occurred
Message=Invalid file name for file monitoring: 'C:\src\main-232\src\ZNode\Znode_MultiFront\Web\Controls\Cat5\Navigation'. Common reasons for failure include:
- The filename is not a valid Win32 file name.
- The filename is not an absolute path.
- The filename contains wildcard characters.
- The file specified is a directory.
- Access denied.
Source=System.Web
ErrorCode=-2147024809
WebEventCode=0
StackTrace:
at System.Web.DirectoryMonitor.AddFileMonitor(String file)
InnerException:
Дело в том, что этот файл указывает на каталог, поэтомуVisual Studio 2010 считает, что это файл?Я запускаю это на IIS 7 на моей локальной машине