Serving along the Path for 10 years.
This release is also available on NuGet
Bugs Fixed
- Issue #488:
Path.CheckInvalidPathChars
inPath.Helpers.cs
should be case insensitive (Thx GuyTe) - Issue #489:
File.Copy
fails withDirectoryNotFoundException
on long path (Thx CyberSinh)
Improvements
- Issue #487: Ensure replace is done case-insensitive (Thx Genbox)
Assets
3
Yomodo
released this
Assets
3
Yomodo
released this
Serving along the Path for 10 years.
This release is also available on NuGet
Bugs Fixed
- Issue #468: Method
Directory.CopyTimestamps
should throwDirectoryNotFoundException
. - Issue #469: Method
Directory.GetFileIdInfo
should throwDirectoryNotFoundException
. - Issue #474: Method
Directory.EnumerateAlternateDataStreams
should throwDirectoryNotFoundException
. - Issue #476: Method
Directory.GetChangeTime
should throwDirectoryNotFoundException
.
Assets
3
Yomodo
released this
Serving along the Path for 10 years.
This release is also available on NuGet
Bugs Fixed
- Issue #456: Methods
Directory/File.Copy
throwDeviceNotReadyException
when usingGLOBALROOT
source path. (Thx VladimirK69) - Issue #457:
FileInfo.Exists
istrue
when instance is created from a directory path. - Issue #458:
Directory.Copy
sometimes does not create the file's parent folder, throwingSystem.IO.DirectoryNotFoundException
.
Assets
3
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 inPath.NormalizePath
(Thx okrushelnitsky) - Issue #441:
InvalidOperationException
onDirectory.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
released this
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
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
(withrecursive=true
) throwsSystem.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 fromSystem.IO.IOException
, wrong? - Issue #344:
Directory.Copy
throwsUnauthorizedAccessException
"The target file is a directory, not a file", while it is a file. - Issue #349:
File.GetFileSystemEntryInfoCore
should throwDirectory/FileNotFoundException
, depending onisFolder
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 useBackupSemantics
. (Thx damiarnold) - Issue #374: Initializing
DriveInfo
instance with only a letter throwsSystem.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
fromint
tolong
. - 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 useFileShare.Read
(Thx elgonzo) - Issue #427:
System.IO.FileSystemInfo.Refresh()
is public; butAlphaFS 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.
ImprovedEnumerate-FileSystemEntryInfos.ps1
demonstratingDirectoryEnumerationFilters
.
- 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
andExistsJunction
. - 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 returnFileSystemEntryInfo
structure for directories supporting also root directories, e.g.,C:\
(Thx besoft) - Issue #354: Add methods
File.GetFileId
andDirectory.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
released this
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
andDirectoryInfo.MoveTo
throwArgumentNullException
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()
callsPath.GetExtendedLengthPathCore()
withoutTransaction
parameter.
Assets
3
alphaleonis
released this
This release is also available on NuGet
Minor bugfixes.