From 41e67291bb3cb358ff78c380202b2ede0142b2c2 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Tue, 27 Feb 2024 22:46:53 +0800 Subject: [PATCH] feat: include System.Net.Http.Json namespace by default --- src/ReferenceResolver/FrameworkReferenceResolver.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ReferenceResolver/FrameworkReferenceResolver.cs b/src/ReferenceResolver/FrameworkReferenceResolver.cs index f04e91f..ce736c6 100644 --- a/src/ReferenceResolver/FrameworkReferenceResolver.cs +++ b/src/ReferenceResolver/FrameworkReferenceResolver.cs @@ -102,6 +102,7 @@ public static string[] GetImplicitUsings(string frameworkName) "global::System.IO", "global::System.Linq", "global::System.Net.Http", + "global::System.Net.Http.Json", // add this to simplify the http request "global::System.Text", "global::System.Threading", "global::System.Threading.Tasks"