Remove unnecessary package references · dotnet/aspnetcore@ab38a29 (original) (raw)
Skip to content
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign up
Commit ab38a29
Remove unnecessary package references
File tree
29 files changed
lines changed
- Samples/BlazorUnitedApp.Client
- Samples/HostedBlazorWebassemblyApp/Client
* WebAssembly.Authentication/test
- test/testassets/BasicTestApp
- Middleware/Spa/SpaServices.Extensions/test
- Mvc/test/Mvc.FunctionalTests
- Templates.Blazor.WebAssembly.Auth.Tests
- Templates.Blazor.WebAssembly.Tests
- Security/test/AuthSamples.FunctionalTests
- IIS/IIS/test/testassets/InProcessNewShimWebSite
- Kestrel/test/InMemory.FunctionalTests
- SignalR/perf/Microbenchmarks
29 files changed
lines changed
Original file line number |
Diff line number |
Diff line change |
@@ -1,4 +1,5 @@ |
|
|
1 |
1 |
<Project Sdk="Microsoft.NET.Sdk"> |
|
2 |
+ |
2 |
3 |
<PropertyGroup> |
3 |
4 |
<TargetFrameworks>$(DefaultNetCoreTargetFramework)</TargetFrameworks> |
4 |
5 |
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net472</TargetFrameworks> |
@@ -35,15 +36,13 @@ |
|
|
35 |
36 |
<PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" /> |
36 |
37 |
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" /> |
37 |
38 |
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCoreVersion)" /> |
38 |
|
- |
39 |
|
- <PackageReference Include="System.Formats.Asn1" Version="$(SystemFormatsAsn1Version)" /> |
40 |
39 |
</ItemGroup> |
41 |
40 |
|
42 |
41 |
<ItemGroup Condition="'$(TargetFramework)' == 'net472'"> |
43 |
42 |
<PackageReference Include="Microsoft.IO.Redist" Version="$(MicrosoftIoRedistVersion)" /> |
44 |
43 |
<PackageReference Include="Microsoft.Signed.Wix" Version="$(MicrosoftSignedWixVersion)" /> |
45 |
|
- <PackageReference Include="System.Net.Http" Version="4.3.4" /> |
46 |
44 |
|
|
45 |
+ <Reference Include="System.Net.Http" /> |
47 |
46 |
<Reference Include="Microsoft.Build" /> |
48 |
47 |
<Reference Include="Microsoft.Build.Framework" /> |
49 |
48 |
<Reference Include="Microsoft.Build.Tasks.v4.0" /> |
Original file line number |
Diff line number |
Diff line change |
@@ -9,7 +9,6 @@ |
|
|
9 |
9 |
|
10 |
10 |
<ItemGroup> |
11 |
11 |
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly" /> |
12 |
|
- <Reference Include="System.Net.Http.Json" /> |
13 |
12 |
</ItemGroup> |
14 |
13 |
|
15 |
14 |
<ItemGroup> |
Original file line number |
Diff line number |
Diff line change |
@@ -8,7 +8,6 @@ |
|
|
8 |
8 |
|
9 |
9 |
<ItemGroup> |
10 |
10 |
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly" /> |
11 |
|
- <Reference Include="System.Net.Http.Json" /> |
12 |
11 |
</ItemGroup> |
13 |
12 |
|
14 |
13 |
<ItemGroup> |
Original file line number |
Diff line number |
Diff line change |
@@ -9,7 +9,6 @@ |
|
|
9 |
9 |
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly" /> |
10 |
10 |
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly.Authentication" /> |
11 |
11 |
<Reference Include="Microsoft.CodeAnalysis.CSharp" /> |
12 |
|
- <Reference Include="System.Text.Json" /> |
13 |
12 |
</ItemGroup> |
14 |
13 |
|
15 |
14 |
<ItemGroup> |
Original file line number |
Diff line number |
Diff line change |
@@ -7,7 +7,6 @@ |
|
|
7 |
7 |
<ItemGroup> |
8 |
8 |
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly" /> |
9 |
9 |
<Reference Include="Microsoft.CodeAnalysis.CSharp" /> |
10 |
|
- <Reference Include="System.Text.Json" /> |
11 |
10 |
</ItemGroup> |
12 |
11 |
|
13 |
12 |
</Project> |
Original file line number |
Diff line number |
Diff line change |
@@ -7,7 +7,6 @@ |
|
|
7 |
7 |
|
8 |
8 |
<ItemGroup> |
9 |
9 |
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly" /> |
10 |
|
- <Reference Include="System.Net.Http.Json" /> |
11 |
10 |
</ItemGroup> |
12 |
11 |
|
13 |
12 |
</Project> |
Original file line number |
Diff line number |
Diff line change |
@@ -14,8 +14,6 @@ |
|
|
14 |
14 |
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" /> |
15 |
15 |
<Reference Include="Microsoft.AspNetCore.Diagnostics" /> |
16 |
16 |
<Reference Include="Microsoft.AspNetCore.Mvc" /> |
17 |
|
- |
18 |
|
- <Reference Include="System.Text.Json" /> |
19 |
17 |
</ItemGroup> |
20 |
18 |
|
21 |
19 |
</Project> |
Original file line number |
Diff line number |
Diff line change |
@@ -6,7 +6,6 @@ |
|
|
6 |
6 |
|
7 |
7 |
<ItemGroup> |
8 |
8 |
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly" /> |
9 |
|
- <Reference Include="System.Net.Http.Json" /> |
10 |
9 |
</ItemGroup> |
11 |
10 |
|
12 |
11 |
</Project> |
Original file line number |
Diff line number |
Diff line change |
@@ -7,7 +7,6 @@ |
|
|
7 |
7 |
|
8 |
8 |
<ItemGroup> |
9 |
9 |
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly" /> |
10 |
|
- <Reference Include="System.Net.Http.Json" /> |
11 |
10 |
</ItemGroup> |
12 |
11 |
|
13 |
12 |
</Project> |
Original file line number |
Diff line number |
Diff line change |
@@ -21,8 +21,6 @@ |
|
|
21 |
21 |
<Reference Include="Microsoft.AspNetCore.ResponseCompression" /> |
22 |
22 |
<Reference Include="Microsoft.Extensions.Hosting" /> |
23 |
23 |
<Reference Include="Microsoft.Extensions.DependencyInjection" /> |
24 |
|
- |
25 |
|
- <Reference Include="System.Text.Json" /> |
26 |
24 |
</ItemGroup> |
27 |
25 |
|
28 |
26 |
</Project> |
Original file line number |
Diff line number |
Diff line change |
@@ -19,8 +19,6 @@ |
|
|
19 |
19 |
</PropertyGroup> |
20 |
20 |
|
21 |
21 |
<ItemGroup> |
22 |
|
- <Reference Include="System.ComponentModel" /> |
23 |
|
- <Reference Include="System.Net.Http.Json" /> |
24 |
22 |
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly" /> |
25 |
23 |
<Reference Include="Microsoft.AspNetCore.Components.CustomElements" /> |
26 |
24 |
<Reference Include="Microsoft.AspNetCore.Components.Authorization" /> |
Original file line number |
Diff line number |
Diff line change |
@@ -26,7 +26,6 @@ |
|
|
26 |
26 |
<Reference Include="Microsoft.Extensions.Hosting" /> |
27 |
27 |
<Reference Include="Microsoft.Extensions.Options" /> |
28 |
28 |
<Reference Include="Microsoft.Extensions.Diagnostics.Testing" /> |
29 |
|
- <Reference Include="System.Threading.Channels" /> |
30 |
29 |
</ItemGroup> |
31 |
30 |
|
32 |
31 |
</Project> |
Original file line number |
Diff line number |
Diff line change |
@@ -24,7 +24,6 @@ |
|
|
24 |
24 |
<Reference Include="Microsoft.EntityFrameworkCore.Sqlite" /> |
25 |
25 |
<Reference Include="Microsoft.Extensions.TimeProvider.Testing" /> |
26 |
26 |
<Reference Include="AngleSharp" /> |
27 |
|
- <Reference Include="System.Net.Http" /> |
28 |
27 |
|
29 |
28 |
<None Update="Testing.DefaultWebSite.StaticWebAssets.V4.xml" CopyToOutputDirectory="PreserveNewest" /> |
30 |
29 |
<None Update="Testing.DefaultWebSite.StaticWebAssets.V5.xml" CopyToOutputDirectory="PreserveNewest" /> |
Original file line number |
Diff line number |
Diff line change |
@@ -10,7 +10,6 @@ |
|
|
10 |
10 |
|
11 |
11 |
<ItemGroup> |
12 |
12 |
<Reference Include="AngleSharp" /> |
13 |
|
- <Reference Include="System.Net.Http" /> |
14 |
13 |
<Reference Include="Microsoft.AspNetCore.Hosting" /> |
15 |
14 |
<Reference Include="Microsoft.AspNetCore.Http" /> |
16 |
15 |
<Reference Include="Microsoft.AspNetCore.Identity.Specification.Tests" /> |
Original file line number |
Diff line number |
Diff line change |
@@ -13,7 +13,6 @@ |
|
|
13 |
13 |
<Reference Include="Microsoft.Extensions.DiagnosticAdapter" /> |
14 |
14 |
<Reference Include="Microsoft.Extensions.Hosting" /> |
15 |
15 |
<Reference Include="Microsoft.AspNetCore.Http.Abstractions" /> |
16 |
|
- <Reference Include="System.Net.Http" /> |
17 |
16 |
<Content Include="js\**\*" /> |
18 |
17 |
</ItemGroup> |
19 |
18 |
|
Original file line number |
Diff line number |
Diff line change |
@@ -24,7 +24,6 @@ |
|
|
24 |
24 |
..\WebSites\RazorPagesClassLibrary\RazorPagesClassLibrary.csproj" /> |
25 |
25 |
|
26 |
26 |
<Reference Include="AngleSharp" /> |
27 |
|
- <Reference Include="System.Net.Http" /> |
28 |
27 |
<Reference Include="Microsoft.AspNet.WebApi.Client" /> |
29 |
28 |
<Reference Include="Microsoft.AspNetCore.Components.Server" /> |
30 |
29 |
<Reference Include="Microsoft.AspNetCore.Routing.Abstractions" /> |
Original file line number |
Diff line number |
Diff line change |
@@ -50,7 +50,6 @@ |
|
|
50 |
50 |
<Reference Include="Microsoft.Extensions.Configuration" /> |
51 |
51 |
<Reference Include="Microsoft.Extensions.Configuration.Json" /> |
52 |
52 |
<Reference Include="AngleSharp" /> |
53 |
|
- <Reference Include="System.Net.Http" /> |
54 |
53 |
<Reference Include="Microsoft.AspNetCore.Components.WebAssembly" /> |
55 |
54 |
<Reference Include="Microsoft.Playwright" Condition="'$(IsPlaywrightAvailable)' == 'true'" /> |
56 |
55 |
<Reference Include="Microsoft.Playwright" ExcludeAssets="build" Condition="'$(IsPlaywrightAvailable)' != 'true'" /> |
Original file line number |
Diff line number |
Diff line change |
@@ -43,7 +43,6 @@ |
|
|
43 |
43 |
|
44 |
44 |
<ItemGroup> |
45 |
45 |
<Reference Include="AngleSharp" /> |
46 |
|
- <Reference Include="System.Net.Http" /> |
47 |
46 |
<ProjectReference Include="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.sfxproj" |
48 |
47 |
Private="false" |
49 |
48 |
ReferenceOutputAssembly="false" |
Original file line number |
Diff line number |
Diff line change |
@@ -42,7 +42,6 @@ |
|
|
42 |
42 |
|
43 |
43 |
<ItemGroup> |
44 |
44 |
<Reference Include="AngleSharp" /> |
45 |
|
- <Reference Include="System.Net.Http" /> |
46 |
45 |
<ProjectReference Include="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.sfxproj" |
47 |
46 |
Private="false" |
48 |
47 |
ReferenceOutputAssembly="false" |
Original file line number |
Diff line number |
Diff line change |
@@ -52,7 +52,6 @@ |
|
|
52 |
52 |
|
53 |
53 |
<ItemGroup> |
54 |
54 |
<Reference Include="AngleSharp" /> |
55 |
|
- <Reference Include="System.Net.Http" /> |
56 |
55 |
<ProjectReference Include="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.sfxproj" |
57 |
56 |
Private="false" |
58 |
57 |
ReferenceOutputAssembly="false" |
Original file line number |
Diff line number |
Diff line change |
@@ -46,7 +46,6 @@ |
|
|
46 |
46 |
|
47 |
47 |
<ItemGroup> |
48 |
48 |
<Reference Include="AngleSharp" /> |
49 |
|
- <Reference Include="System.Net.Http" /> |
50 |
49 |
<ProjectReference Include="$(RepoRoot)src\Framework\App.Runtime\src\Microsoft.AspNetCore.App.Runtime.sfxproj" |
51 |
50 |
Private="false" |
52 |
51 |
ReferenceOutputAssembly="false" |
Original file line number |
Diff line number |
Diff line change |
@@ -16,7 +16,6 @@ |
|
|
16 |
16 |
<Reference Include="Microsoft.AspNetCore.TestHost" /> |
17 |
17 |
<Reference Include="Microsoft.AspNetCore.Mvc.Testing" /> |
18 |
18 |
<Reference Include="AngleSharp" /> |
19 |
|
- <Reference Include="System.Net.Http" /> |
20 |
19 |
</ItemGroup> |
21 |
20 |
|
22 |
21 |
<Import Project="$(MvcTestingTargets)" Condition="'$(MvcTestingTargets)' != ''" /> |
Original file line number |
Diff line number |
Diff line change |
@@ -59,9 +59,6 @@ |
|
|
59 |
59 |
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="2.2.0" > |
60 |
60 |
<AllowExplicitReference>true</AllowExplicitReference> |
61 |
61 |
</PackageReference> |
62 |
|
- <PackageReference Include="System.Text.Encodings.Web" Version="4.5.1" > |
63 |
|
- <AllowExplicitReference>true</AllowExplicitReference> |
64 |
|
- </PackageReference> |
65 |
62 |
<Reference Include="xunit.assert" /> |
66 |
63 |
</ItemGroup> |
67 |
64 |
</Project> |
Original file line number |
Diff line number |
Diff line change |
@@ -34,7 +34,6 @@ |
|
|
34 |
34 |
<Content Include="$(SharedSourceRoot)TestCertificates\*.key" LinkBase="shared\TestCertificates" CopyToOutputDirectory="PreserveNewest" /> |
35 |
35 |
<Content Include="$(SharedSourceRoot)TestCertificates\*.pem" LinkBase="shared\TestCertificates" CopyToOutputDirectory="PreserveNewest" /> |
36 |
36 |
|
37 |
|
- <Reference Include="System.Threading.Channels" /> |
38 |
37 |
<Reference Include="Microsoft.AspNetCore.Http.Abstractions" /> |
39 |
38 |
<Reference Include="Microsoft.AspNetCore.Server.Kestrel" /> |
40 |
39 |
<Reference Include="Microsoft.Extensions.Diagnostics.Testing" /> |
Original file line number |
Diff line number |
Diff line change |
@@ -46,8 +46,6 @@ |
|
|
46 |
46 |
|
47 |
47 |
<ItemGroup> |
48 |
48 |
<Reference Include="FSharp.Core" /> |
49 |
|
- <Reference Include="System.Reflection.Metadata" /> |
50 |
|
- <Reference Include="System.Threading.Tasks.Extensions" /> |
51 |
49 |
<Reference Include="Microsoft.AspNetCore.Http.Features" /> |
52 |
50 |
<Reference Include="Microsoft.AspNetCore.Http" /> |
53 |
51 |
<Reference Include="Microsoft.AspNetCore.Server.HttpSys" /> |
Original file line number |
Diff line number |
Diff line change |
@@ -33,8 +33,6 @@ |
|
|
33 |
33 |
<Reference Include="Microsoft.Extensions.DependencyInjection" /> |
34 |
34 |
<Reference Include="Moq" /> |
35 |
35 |
<Reference Include="System.Reactive.Linq" /> |
36 |
|
- <Reference Include="System.Threading.Channels" /> |
37 |
|
- <Reference Include="System.Threading.Tasks.Extensions" /> |
38 |
36 |
|
39 |
37 |
|
40 |
38 |
<Compile Include="$(SharedSourceRoot)BenchmarkRunner\*.cs" /> |
Original file line number |
Diff line number |
Diff line change |
@@ -14,10 +14,10 @@ |
|
|
14 |
14 |
|
15 |
15 |
<ItemGroup> |
16 |
16 |
<Reference Include="Microsoft.AspNetCore.InternalTesting" /> |
17 |
|
- <Reference Include="System.Runtime.InteropServices.RuntimeInformation" /> |
18 |
17 |
</ItemGroup> |
19 |
18 |
|
20 |
19 |
<ItemGroup Condition="'$(TargetFramework)' == 'net472' OR '$(MSBuildRestoreSessionId)' == ''"> |
21 |
20 |
<Reference Include="System.Net.Http" /> |
|
21 |
+ <Reference Include="System.Runtime.InteropServices.RuntimeInformation" /> |
22 |
22 |
</ItemGroup> |
23 |
23 |
</Project> |
Original file line number |
Diff line number |
Diff line change |
@@ -28,7 +28,6 @@ |
|
|
28 |
28 |
|
29 |
29 |
<ItemGroup> |
30 |
30 |
<Reference Include="System.IdentityModel.Tokens.Jwt" /> |
31 |
|
- <Reference Include="System.Text.Json" Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'" /> |
32 |
31 |
<Reference Include="Microsoft.Extensions.Configuration.Abstractions" /> |
33 |
32 |
<Reference Include="Microsoft.Extensions.Configuration" /> |
34 |
33 |
<Reference Include="Microsoft.Extensions.Configuration.Binder" /> |
Original file line number |
Diff line number |
Diff line change |
@@ -29,7 +29,6 @@ |
|
|
29 |
29 |
|
30 |
30 |
<ItemGroup> |
31 |
31 |
<Reference Include="Newtonsoft.Json" /> |
32 |
|
- <Reference Include="System.Text.Json" Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'" /> |
33 |
32 |
<Reference Include="Microsoft.Extensions.Configuration.UserSecrets" /> |
34 |
33 |
</ItemGroup> |
35 |
34 |
|