Additional change to 1aa242b

This commit is contained in:
Birunthan Mohanathas 2014-01-17 16:57:15 +02:00
parent 1aa242b5c9
commit d952ceca44

View File

@ -187,10 +187,8 @@ namespace DllExporter
throw new DirectoryNotFoundException("'Microsoft SDKs' directory not found");
}
// Get the version directories in reverse order (i.e. newest version first).
// Get the version directories.
var sdkVersionDirectories = Directory.GetDirectories(sdkPath);
Array.Reverse(sdkVersionDirectories);
foreach (var sdkVersionDirectory in sdkVersionDirectories)
{
var binDirectory = Path.Combine(sdkVersionDirectory, @"bin");