Skip to content

Commit 57151aa

Browse files
authored
test: Remove unused netcoreapp2.1 Microsoft.AspNetCore.All dependency from TestWebApp (#1240)
1 parent 6648ac9 commit 57151aa

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Libraries/test/TestWebApp/TestWebApp.csproj

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
<PackageId>TestWebApp</PackageId>
99
</PropertyGroup>
1010

11-
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'">
12-
<DefineConstants>NETCOREAPP_2_1</DefineConstants>
13-
</PropertyGroup>
1411
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
1512
<DefineConstants>NETCOREAPP_3_1</DefineConstants>
1613
</PropertyGroup>
@@ -19,13 +16,7 @@
1916
<ProjectReference Include="..\..\src\Amazon.Lambda.AspNetCoreServer\Amazon.Lambda.AspNetCoreServer.csproj" />
2017
</ItemGroup>
2118

22-
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.1'">
23-
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.5">
24-
<Publish Condition="'%(PackageReference.Version)' == ''">true</Publish>
25-
</PackageReference>
26-
<PackageReference Include="Swashbuckle.AspNetCore" Version="1.1.0" />
27-
</ItemGroup>
28-
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
19+
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
2920
<PackageReference Include="Swashbuckle.AspNetCore" Version="1.1.0" />
3021
</ItemGroup>
3122

0 commit comments

Comments
 (0)