diff --git a/src/PDFtoImage/Internals/NativeMethods.cs b/src/PDFtoImage/Internals/NativeMethods.cs index 767df487..4d29841b 100644 --- a/src/PDFtoImage/Internals/NativeMethods.cs +++ b/src/PDFtoImage/Internals/NativeMethods.cs @@ -5,7 +5,7 @@ namespace PDFtoImage.Internals { -#if NET8_0_OR_GREATER +#if NET6_0_OR_GREATER #pragma warning disable CA2101 // Specify marshalling for P/Invoke string arguments #pragma warning disable SYSLIB1054 // Use LibraryImportAttribute instead of DllImportAttribute to generate p/invoke marshalling code at compile time. #endif diff --git a/src/PDFtoImage/PDFtoImage.csproj b/src/PDFtoImage/PDFtoImage.csproj index 9d625e64..4b737d53 100644 --- a/src/PDFtoImage/PDFtoImage.csproj +++ b/src/PDFtoImage/PDFtoImage.csproj @@ -75,9 +75,9 @@ - - - + + + @@ -96,14 +96,14 @@ - + - +