1
Vote

.NET 1.1 compilation bug - FolderPathsToEncrypt() cannot use ExpandEnvironmentVariables()

description

From UtilityClass.FolderPathsToEncrypt source code:
 
               // 1.1 bugbug - If this code is compiled in .NET 1.1 this will
               // not work. EEV returns short path names and DirectoryInfo.FullName
               // does not expand them in 1.1.
               //
               _path = Environment.ExpandEnvironmentVariables(_path);
               _dirInfo = new DirectoryInfo(_path);
               _path = _dirInfo.FullName;

comments