diff --git a/src/MSBuildLocator/NativeMethods.cs b/src/MSBuildLocator/NativeMethods.cs index 3a2b237..6f1f3dc 100644 --- a/src/MSBuildLocator/NativeMethods.cs +++ b/src/MSBuildLocator/NativeMethods.cs @@ -28,7 +28,7 @@ internal delegate void hostfxr_resolve_sdk2_result_fn( [UnmanagedFunctionPointer(CallingConvention.Cdecl, CharSet = CharSet.Auto)] internal delegate void hostfxr_get_available_sdks_result_fn( - hostfxr_resolve_sdk2_result_key_t key, + int sdk_count, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 0)] string[] value);