diff --git a/BinaryObjectScanner.Test/BinaryObjectScanner.Test.csproj b/BinaryObjectScanner.Test/BinaryObjectScanner.Test.csproj index 471729f1..e9102bd7 100644 --- a/BinaryObjectScanner.Test/BinaryObjectScanner.Test.csproj +++ b/BinaryObjectScanner.Test/BinaryObjectScanner.Test.csproj @@ -17,7 +17,7 @@ all - + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/BinaryObjectScanner/BinaryObjectScanner.csproj b/BinaryObjectScanner/BinaryObjectScanner.csproj index a83af3c7..65820476 100644 --- a/BinaryObjectScanner/BinaryObjectScanner.csproj +++ b/BinaryObjectScanner/BinaryObjectScanner.csproj @@ -37,9 +37,9 @@ - + - + \ No newline at end of file diff --git a/BinaryObjectScanner/Data/StaticChecks.cs b/BinaryObjectScanner/Data/StaticChecks.cs index e75c02d1..c1419913 100644 --- a/BinaryObjectScanner/Data/StaticChecks.cs +++ b/BinaryObjectScanner/Data/StaticChecks.cs @@ -139,7 +139,7 @@ namespace BinaryObjectScanner.Data } catch (ReflectionTypeLoadException rtle) { - assemblyTypes = [.. rtle!.Types]; + assemblyTypes = [.. rtle!.Types!]; } // Get information from the type param diff --git a/BinaryObjectScanner/Packer/WiseInstaller.cs b/BinaryObjectScanner/Packer/WiseInstaller.cs index 09d2407f..925be2e7 100644 --- a/BinaryObjectScanner/Packer/WiseInstaller.cs +++ b/BinaryObjectScanner/Packer/WiseInstaller.cs @@ -24,7 +24,7 @@ namespace BinaryObjectScanner.Packer return "Wise Installation Wizard Module"; // If the section header can be found - if (exe.FindWiseSection() != null) + if (exe.WiseSection != null) return "Wise Installation Wizard Module"; return null;