Skip to content

Commit 72ff2eb

Browse files
committed
Try to pull in the correct assemblies for System.Web.HttpUtility.ParseQueryString
1 parent 0aca51c commit 72ff2eb

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

test/RestSharp.Tests/RestSharp.Tests.csproj

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,10 @@
77
<ItemGroup>
88
<ProjectReference Include="$(RepoRoot)\src\RestSharp\RestSharp.csproj" />
99
</ItemGroup>
10-
<ItemGroup>
11-
<Reference Include="System.Net">
12-
<HintPath>..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\System.Net.dll</HintPath>
13-
</Reference>
14-
<Reference Include="System.Web">
15-
<HintPath>..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.7.2\System.Web.dll</HintPath>
16-
</Reference>
10+
<ItemGroup Condition="'$(TargetFramework)' == 'net471'">
11+
<Reference Include="System.Net.Http" />
12+
<Reference Include="System.Web" />
13+
<PackageReference Include="Nullable" Version="1.3.1" PrivateAssets="All" />
1714
</ItemGroup>
1815
<ItemGroup>
1916
<None Update="SampleData\4sq.json" CopyToOutputDirectory="PreserveNewest" />

0 commit comments

Comments
 (0)