Skip to content

Commit 7ff14a3

Browse files
Fix Xamarin assembly names in HttpClientHandler (#64391)
Update to match the new names from dotnet/macios#13847 Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
1 parent 1a6cadf commit 7ff14a3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/libraries/System.Net.Http/src/System/Net/Http/HttpClientHandler.AnyMobile.InvokeNativeHandler.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ public partial class HttpClientHandler : HttpMessageHandler
2121
private const string GetHttpMessageHandlerType = "Android.Runtime.AndroidEnvironment, Mono.Android";
2222
#elif TARGET_IOS
2323
private const string NativeHandlerType = "System.Net.Http.NSUrlSessionHandler";
24-
private const string AssemblyName = "Xamarin.iOS";
25-
private const string GetHttpMessageHandlerType = "ObjCRuntime.RuntimeOptions, Xamarin.iOS";
24+
private const string AssemblyName = "Microsoft.iOS";
25+
private const string GetHttpMessageHandlerType = "ObjCRuntime.RuntimeOptions, Microsoft.iOS";
2626
#elif TARGET_MACCATALYST
2727
private const string NativeHandlerType = "System.Net.Http.NSUrlSessionHandler";
28-
private const string AssemblyName = "Xamarin.MacCatalyst";
29-
private const string GetHttpMessageHandlerType = "ObjCRuntime.RuntimeOptions, Xamarin.MacCatalyst";
28+
private const string AssemblyName = "Microsoft.MacCatalyst";
29+
private const string GetHttpMessageHandlerType = "ObjCRuntime.RuntimeOptions, Microsoft.MacCatalyst";
3030
#elif TARGET_TVOS
3131
private const string NativeHandlerType = "System.Net.Http.NSUrlSessionHandler";
32-
private const string AssemblyName = "Xamarin.TVOS";
33-
private const string GetHttpMessageHandlerType = "ObjCRuntime.RuntimeOptions, Xamarin.TVOS";
32+
private const string AssemblyName = "Microsoft.tvOS";
33+
private const string GetHttpMessageHandlerType = "ObjCRuntime.RuntimeOptions, Microsoft.tvOS";
3434
#else
3535
#error Unknown target
3636
#endif

0 commit comments

Comments
 (0)