Is there a way around PathTooLongException?
I tried adding @"\\\?\" to path but it did not work.
I use AlphaFS from Codeplex to get to files, but once in that folder I can not open image with Magick.NET.
Comments: ** Comment from web user: daviddax **
I tried adding @"\\\?\" to path but it did not work.
I use AlphaFS from Codeplex to get to files, but once in that folder I can not open image with Magick.NET.
Comments: ** Comment from web user: daviddax **
I downloaded .901 and still get
[System.IO.PathTooLongException] = {"The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."}
StackTrace = " at System.IO.PathHelper.GetFullPathName()\r\n at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength)\r\n at System.IO.Path.GetFullPathInternal(String path)\r\n at System.IO.Path.GetFullPath(String path)\r\n at Image...
Tried both with @"\\?\" and without it
```
try
{
using (ImageMagick.MagickImage image = new ImageMagick.MagickImage(@"\\?\" + item.FullPath))
{ ... }
}
catch (Exception ex)
{
```