peteraritchie / LongPath

drop-in library to support long paths in .NET
GNU Lesser General Public License v3.0
112 stars 43 forks source link

An exception when calling File.Copy(...) on Mono #72

Closed alxersov closed 4 years ago

alxersov commented 6 years ago

File.Copy(...) on Mono throws an exception:

System.EntryPointNotFoundException: GetFullPathName
  at (wrapper managed-to-native) Pri.LongPath.NativeMethods.GetFullPathName(string,uint,System.Text.StringBuilder,intptr)
  at Pri.LongPath.Path.NormalizeLongPath (System.String path, System.String parameterName) 
  at Pri.LongPath.File.Copy (System.String sourcePath, System.String destinationPath, System.Boolean overwrite)