Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly stripping dots from path end for comparison
.NET behavior changed with 4.6.2. See here for more details: https://learn.microsoft.com/th-th/dotnet/framework/migration-guide/mitigation-path-normalization 4.6.1 DirectoryInfo apparently strips ... (and maybe similar tokens, too), particularly for its FullName property, which is being used here. This changed in 4.6.2. Assuming that the test indicates a desire for support, the simplest thing to do is to strip dots for comparison. I also experimented with "Switch.System.IO.UseLegacyPathHandling=true" in the app.config, but this had no discernible impact and generally seems ill-advised.
- Loading branch information