From 047418b0e651ae4b98cf7158a920e2a84ce3c167 Mon Sep 17 00:00:00 2001 From: Abdelrahman Mahmoud Date: Fri, 4 Sep 2015 11:23:50 -0400 Subject: [PATCH] Remove licensing folder checking .. since it is nolonger a folder --- AffdexMe/MainWindow.xaml.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/AffdexMe/MainWindow.xaml.cs b/AffdexMe/MainWindow.xaml.cs index a51392e..3e53a2d 100644 --- a/AffdexMe/MainWindow.xaml.cs +++ b/AffdexMe/MainWindow.xaml.cs @@ -163,13 +163,6 @@ namespace AffdexMe ShowExceptionAndShutDown("AFFDEX_LICENSE_DIR environment variable (Affdex License Folder) is not set"); } - // Test the directory - DirectoryInfo directoryInfo = new DirectoryInfo(licensePath); - if (!directoryInfo.Exists) - { - ShowExceptionAndShutDown("AFFDEX_License_DIR (Affex License Folder) is set to an invalid folder location"); - } - return licensePath; }