diff --git a/BurnOutSharp/BurnOutSharp.csproj b/BurnOutSharp/BurnOutSharp.csproj index 06520a55..581f0db2 100644 --- a/BurnOutSharp/BurnOutSharp.csproj +++ b/BurnOutSharp/BurnOutSharp.csproj @@ -30,7 +30,7 @@ - + diff --git a/BurnOutSharp/FileType/InstallShieldCAB.cs b/BurnOutSharp/FileType/InstallShieldCAB.cs index 99b23efe..dd8ce43b 100644 --- a/BurnOutSharp/FileType/InstallShieldCAB.cs +++ b/BurnOutSharp/FileType/InstallShieldCAB.cs @@ -2,9 +2,7 @@ using System.Collections.Generic; using System.IO; using System.Text.RegularExpressions; -#if NET_FRAMEWORK using UnshieldSharp; -#endif namespace BurnOutSharp.FileType { @@ -12,10 +10,8 @@ namespace BurnOutSharp.FileType { public static bool ShouldScan(byte[] magic) { -#if NET_FRAMEWORK if (magic.StartsWith(new byte[] { 0x49, 0x53, 0x63 })) return true; -#endif return false; } @@ -23,7 +19,6 @@ namespace BurnOutSharp.FileType // TODO: Add stream opening support public static Dictionary> Scan(Scanner scanner, string file) { -#if NET_FRAMEWORK // Get the name of the first cabinet file or header string directory = Path.GetDirectoryName(file); string noExtension = Path.GetFileNameWithoutExtension(file); @@ -73,7 +68,6 @@ namespace BurnOutSharp.FileType } catch { } } -#endif return null; }