File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 99 </PropertyGroup >
1010
1111 <PropertyGroup >
12- <TargetFrameworks >netstandard1.3;netstandard2.0</TargetFrameworks >
12+ <TargetFrameworks >netstandard1.1;netstandard1. 3;netstandard2.0</TargetFrameworks >
1313 </PropertyGroup >
1414
1515 <ItemGroup >
2020 <ProjectReference Include =" ..\GraphQL.Common\GraphQL.Common.csproj" />
2121 </ItemGroup >
2222
23+ <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard1.1'" >
24+ <PackageReference Include =" System.Net.Http" Version =" 4.3.3" />
25+ </ItemGroup >
26+
2327</Project >
Original file line number Diff line number Diff line change @@ -116,6 +116,8 @@ public static async Task<GraphQLResponse> GetIntrospectionQueryAsync(this GraphQ
116116 public static async Task < GraphQLResponse > PostIntrospectionQueryAsync ( this GraphQLClient graphQLClient ) =>
117117 await graphQLClient . PostAsync ( IntrospectionQuery ) . ConfigureAwait ( false ) ;
118118
119+ #if ! NETSTANDARD1_1
120+
119121 /// <summary>
120122 /// Send the Query defined in a file via GET
121123 /// </summary>
@@ -134,6 +136,8 @@ public static async Task<GraphQLResponse> GetFromFile(this GraphQLClient graphQL
134136 public static async Task < GraphQLResponse > PostFromFile ( this GraphQLClient graphQLClient , string filePath ) =>
135137 await graphQLClient . PostQueryAsync ( File . ReadAllText ( filePath ) ) . ConfigureAwait ( false ) ;
136138
139+ #endif
140+
137141 }
138142
139143}
You can’t perform that action at this time.
0 commit comments