diff --git a/Native/CSharpCDRImplTemplate.txt b/Native/CSharpCDRImplTemplate.txt index 35e0462e..42d8163b 100644 --- a/Native/CSharpCDRImplTemplate.txt +++ b/Native/CSharpCDRImplTemplate.txt @@ -71,7 +71,7 @@ [SuppressUnmanagedCodeSecurity] internal static partial class <%TYPE%>TypeSupportNative { -#if NET7_0_OR_GREATER +#if NET8_0_OR_GREATER [SuppressUnmanagedCodeSecurity] [LibraryImport(<%TYPE%>.API_DLL, EntryPoint = "<%SCOPED_METHOD%>TypeSupport_new", StringMarshalling = StringMarshalling.Utf8)] [UnmanagedCallConv(CallConvs = new[] { typeof(System.Runtime.CompilerServices.CallConvSuppressGCTransition) })] @@ -1213,7 +1213,7 @@ internal static partial class <%TYPE%>DataReaderNative { -#if NET7_0_OR_GREATER +#if NET8_0_OR_GREATER [SuppressUnmanagedCodeSecurity] [LibraryImport(<%TYPE%>.API_DLL, EntryPoint = "<%SCOPED_METHOD%>DataReader_Narrow")] [UnmanagedCallConv(CallConvs = new[] { typeof(System.Runtime.CompilerServices.CallConvCdecl) })] diff --git a/Tests/OpenDDSharp.UnitTest/OpenDDSharp.UnitTest.csproj b/Tests/OpenDDSharp.UnitTest/OpenDDSharp.UnitTest.csproj index eb2bbdf0..a41cf7c9 100644 --- a/Tests/OpenDDSharp.UnitTest/OpenDDSharp.UnitTest.csproj +++ b/Tests/OpenDDSharp.UnitTest/OpenDDSharp.UnitTest.csproj @@ -13,7 +13,7 @@ true true OpenDDSharp.UnitTest - net7.0;net8.0; + net462;net47;net471;net472;net48;net6.0;net7.0;net8.0; net6.0;net7.0;net8.0;