Skip to content

Commit 5c2a701

Browse files
authored
Remove conditional targetframeworks from routing projects (#4476)
1 parent 50bea05 commit 5c2a701

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/Http/Routing/perf/Microsoft.AspNetCore.Routing.Performance.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,16 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netcoreapp2.0;net461</TargetFrameworks>
5-
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netcoreapp2.0</TargetFrameworks>
65
<OutputType>Exe</OutputType>
76
<ServerGarbageCollection>true</ServerGarbageCollection>
87
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
98
<IsPackable>false</IsPackable>
109
</PropertyGroup>
1110

12-
<ItemGroup>
13-
<Reference Include="Microsoft.AspNetCore.Routing" />
14-
</ItemGroup>
15-
1611
<ItemGroup>
1712
<Reference Include="BenchmarkDotNet" />
1813
<Reference Include="Microsoft.AspNetCore.Http" />
14+
<Reference Include="Microsoft.AspNetCore.Routing" />
1915
<Reference Include="Microsoft.Extensions.Logging.Abstractions" />
2016
</ItemGroup>
2117

src/Http/Routing/test/testassets/RoutingSample.Web/RoutingSample.Web.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0</TargetFrameworks>
5-
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net461</TargetFrameworks>
65
</PropertyGroup>
76

87
<ItemGroup>

0 commit comments

Comments
 (0)