OverflowException with Delimon Directory.Exists

梦想与她 提交于 2019-12-12 06:25:02

问题


I have a really strange error, with Delimon.Io library, I got an OverflowException when I call a Directory.Exists for an existing directory, ie.

Delimon.Win32.IO.Directory.Exists(@"c:\temp")

The error occours only if I issue the call in a specific service, no error if I run the same code in unit testing project.

What could be the project settings that makes this simple call fail? (Clearly calling a

System.IO.Directory.Exists("c:\\temp")

correctly returns true.

来源:https://stackoverflow.com/questions/33893164/overflowexception-with-delimon-directory-exists

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!