Oct 9, 2018
Work on appveyor build.

@Yomodo Yomodo released this Aug 18, 2018 · 4 commits to master since this release

Serving along the Path for 10 years.

This release is also available on NuGet

Bugs Fixed

  • Issue #488: Path.CheckInvalidPathChars in Path.Helpers.cs should be case insensitive (Thx GuyTe)
  • Issue #489: File.Copy fails with DirectoryNotFoundException on long path (Thx CyberSinh)

Improvements

  • Issue #487: Ensure replace is done case-insensitive (Thx Genbox)
Assets 3

@Yomodo Yomodo released this Jul 27, 2018 · 13 commits to master since this release

Serving along the Path for 10 years.

This release is also available on NuGet

Bugs Fixed

  • Issue #479: File.Move on a file opened with FileShare.Delete succeeds but throws IOException. (Thx oguimbal)
  • Issue #484: DirectoryNotFoundException with MoveOptions.DelayUntilReboot (Thx 0x084E)
Assets 3

@Yomodo Yomodo released this Jul 12, 2018 · 28 commits to master since this release

Serving along the Path for 10 years.

This release is also available on NuGet

Bugs Fixed

  • Issue #468: Method Directory.CopyTimestamps should throw DirectoryNotFoundException.
  • Issue #469: Method Directory.GetFileIdInfo should throw DirectoryNotFoundException.
  • Issue #474: Method Directory.EnumerateAlternateDataStreams should throw DirectoryNotFoundException.
  • Issue #476: Method Directory.GetChangeTime should throw DirectoryNotFoundException.
Assets 3

@Yomodo Yomodo released this Jun 14, 2018 · 35 commits to master since this release

Serving along the Path for 10 years.

This release is also available on NuGet

Bugs Fixed

  • Issue #456: Methods Directory/File.Copy throw DeviceNotReadyException when using GLOBALROOT source path. (Thx VladimirK69)
  • Issue #457: FileInfo.Exists is true when instance is created from a directory path.
  • Issue #458: Directory.Copy sometimes does not create the file's parent folder, throwing System.IO.DirectoryNotFoundException.
Assets 3

@Yomodo Yomodo released this Jun 5, 2018

Serving along the Path for 10 years.

This release is also available on NuGet

Bugs Fixed

  • Issue #434: Directory.Move operation worked in v2.0.1, but now fails in v.2.2.1 (Thx warrenlbrown)
  • Issue #436: Directory.GetFiles() with relative path (Thx stellarbear)
  • Issue #437: Fixed PathTooLongException for boundary case of directory name length in Path.NormalizePath (Thx okrushelnitsky)
  • Issue #441: InvalidOperationException on Directory.EnumerateFileSystemEntries() (Thx CyberSinh)
  • Issue #444: Exception when moving or renaming a folder after updating from 2.1.3 to 2.2.1 (Thx mlaily)

Improvements

  • Issue #149: Split unit-tests.
  • Fixed all Sandcastle Help File Builder warnings.
  • Because of bug fixes, the correct source-/destination folder is now shown in exceptions thrown from Directory/File.Copy/Move methods, instead of always showing the source folder path.
  • Improved some unit tests that would fail when a removable drive is already removed but there's still a cached reference.
Assets 3

@alphaleonis alphaleonis released this Apr 5, 2018 · 162 commits to master since this release

Serving along the Path for 10 years.

This release is also available on NuGet

Bugs Fixed

  • Issue #433: Directory.ExistsDriveOrFolderOrFile fails on global root path, so a simple file copy from a shadow copy fails with "device GLOBALROOT not ready" (Thx CyberSinh)
Assets 3

@Yomodo Yomodo released this Mar 25, 2018

Serving along the Path for 10 years.

This release is also available on NuGet

Bugs Fixed

  • Issue #268: There are multiple warnings when building the documentation.
  • Issue #286: Property FileSystemEntryInfo.AlternateFileName is always an empty string.
  • Issue #292: CopyOptions.CopySymbolicLink not working in 2.1.2 (Thx v2kiran)
  • Issue #325: DeleteEmptySubdirectories (with recursive=true) throws System.IO.DirectoryNotFoundException (Thx kryvoplias)
  • Issue #328: Several instances of ArgumentException.ParamName not set/used correctly (Thx elgonzo)
  • Issue #330: Correct the parameter order for Privilege class constructors using the ArgumentNullException.
  • Issue #339: Directory/File.Encrypt/Decrypt should restore read-only attribute.
  • Issue #340: DirectoryReadOnlyException inherits from System.IO.IOException, wrong?
  • Issue #344: Directory.Copy throws UnauthorizedAccessException "The target file is a directory, not a file", while it is a file.
  • Issue #349: File.GetFileSystemEntryInfoCore should throw Directory/FileNotFoundException, depending on isFolder argument.
  • Issue #369: Directory.EnumerateFileSystemEntryInfos does not return subdirectories with spaces as name. (Thx Lupinho)
  • Issue #371: Fix .gitignore to accommodate new directory structure in AlphaFS.UnitTest project. (Thx damiarnold)
  • Issue #372: SetFsoDateTimeCore should always use BackupSemantics. (Thx damiarnold)
  • Issue #374: Initializing DriveInfo instance with only a letter throws System.ArgumentException.
  • Issue #375: What is the expected result of Path.LocalToUnc() ? (Thx damiarnold)
  • Issue #376: Path.LocalToUnc(path, true) does not return UNC path in long path form. (Thx damiarnold)
  • Issue #379: Path.LocalToUnc() isn't handling trailing directory separators for mapped drives. (Thx damiarnold)
  • Issue #381: Change property ByHandleFileInfo.VolumeSerialNumber from int to long.
  • Issue #386: Network.Host.EnumerateDrives() returns invalid data.
  • Issue #400: Directory.CopyDeleteCore creates destination folder when source folder does not exist.
  • Issue #412: Method Volume.GetVolumeDeviceName returns wrong result.
  • Issue #417: Using a file opened in append mode will fail after a gc occurs (Thx elgonzo)
  • Issue #417: File.OpenRead method overloads do not use FileShare.Read (Thx elgonzo)
  • Issue #427: System.IO.FileSystemInfo.Refresh() is public; but AlphaFS FileSystemInfo.Refresh() is protected

New Features

  • Issue #422: Add Copy-FileWithProgress.ps1 demonstrating file copy with progress report.
  • Issue #423: Add Copy-DirectoryWithProgress.ps1 demonstrating directory copy with progress report.
    Improved Enumerate-FileSystemEntryInfos.ps1 demonstrating DirectoryEnumerationFilters.

  • Issue #212: Provide a way to retrieve errors when you choose to ContinueOnException
  • Issue #314: Added Feature: Directory.GetFileSystemEntryInfo (Thx besoft)
  • Issue #322: Search files/folders using multiple filters. (Thx besoft)
  • Issue #336: Implement methods for Directory class: CreateJunction, DeleteJunction and ExistsJunction.
  • Issue #338: Add convenience method Directory.IsEmpty
  • Issue #342: Add instance method: FileInfo.IsLocked()
  • Issue #343: Add method File.GetProcessForFileLock
  • Issue #347: Implement method Directory.CreateSymbolicLink
  • Issue #348: Implement method Directory.GetLinkTargetInfo
  • Issue #351: Enable copying of Directory symbolic links.
  • Issue #353: Modify method Directory.GetFileSystemEntryInfo to return FileSystemEntryInfo structure for directories supporting also root directories, e.g., C:\ (Thx besoft)
  • Issue #354: Add methods File.GetFileId and Directory.GetFileId to return a unique file identifier. (Thx besoft)
  • Issue #370: Relative path from a full path (Thx QbProg)
  • Issue #373: Improve method Directory.CreateDirectory to allow creating a folder consisting only of spaces.
  • Issue #414: Add additional Network.Host methods.
  • Issue #415: Added ProcessContext static class to determine the context of the current process.

See CHANGELOG for more improvements and breaking changes.

Assets 3

@alphaleonis alphaleonis released this Jun 5, 2017 · 410 commits to master since this release

This release is also available on NuGet

Bugs Fixed

  • Issue #288: Directory.Exists on root drive problem has come back with recent updates (Thx warrenlbrown)
  • Issue #289: Alphaleonis.Win32.Network.Host.GetShareInfo doesn't work since 2.1.0 (Thx Schoolmonkey/damiarnold)
  • Issue #296: Folder rename (casing) throws IOException with HResult ERROR_SAME_DRIVE (Thx doormalena)
  • Issue #297: Incorrect domain returned from Host.EnumerateDomainDfsRoot when specifying domain (Thx damiarnold)
  • Issue #299: FileInfo.MoveTo and DirectoryInfo.MoveTo throw ArgumentNullException on empty destination path (Thx doormalena)
  • Issue #312: Volume.EnumerateVolumes skips first volume (Thx springy76)
  • Issue #313: GetHostShareFromPath() fails with spaces in share name (Thx damiarnold)
  • Issue #320: Minor changes in comments in Win32Errors.cs to eliminate compiler warnings. (Thx besoft)
  • Issue #321: DirectoryInfo.CopyToMoveToCore() calls Path.GetExtendedLengthPathCore() without Transaction parameter.
Assets 3

@alphaleonis alphaleonis released this Oct 30, 2016 · 431 commits to master since this release

This release is also available on NuGet

Minor bugfixes.

  • Issue #270: Method File.GetFileSystemEntryInfoCore uses wildcard ? (questionmark) instead of * (asterisk)
  • Issue #276: Directory.DeleteDirectory(): Method can get stuck in infinite loop.
Assets 3