File tree 4 files changed +1
-18
lines changed
samples/RoutingSample.Web
src/Microsoft.AspNetCore.Routing
test/Microsoft.AspNetCore.Routing.FunctionalTests
4 files changed +1
-18
lines changed Original file line number Diff line number Diff line change 4
4
<TargetFramework >netcoreapp2.2</TargetFramework >
5
5
<TargetFramework Condition =" '$(BenchmarksTargetFramework)' != ''" >$(BenchmarksTargetFramework)</TargetFramework >
6
6
<UseP2PReferences Condition =" '$(UseP2PReferences)'=='' AND '$(BenchmarksTargetFramework)'==''" >true</UseP2PReferences >
7
- <NoWarn >NU1605</NoWarn >
8
7
</PropertyGroup >
9
8
10
9
<!-- These references are used when running locally-->
13
12
<PackageReference Include =" Microsoft.AspNetCore.Server.Kestrel" Version =" $(MicrosoftAspNetCoreServerKestrelPackageVersion)" />
14
13
<PackageReference Include =" Microsoft.Extensions.Configuration.CommandLine" Version =" $(MicrosoftExtensionsConfigurationCommandLinePackageVersion)" />
15
14
<PackageReference Include =" Microsoft.Extensions.Configuration.EnvironmentVariables" Version =" $(MicrosoftExtensionsConfigurationEnvironmentVariablesPackageVersion)" />
16
- <PackageReference Include =" Microsoft.AspNetCore.Http" Version =" $(MicrosoftAspNetCoreHttpPackageVersion)" />
17
- <PackageReference Include =" Microsoft.AspNetCore.Http.Extensions" Version =" $(MicrosoftAspNetCoreHttpExtensionsPackageVersion)" />
18
- <PackageReference Include =" Microsoft.AspNetCore.Http.Abstractions" Version =" $(MicrosoftAspNetCoreHttpExtensionsPackageVersion)" />
19
15
</ItemGroup >
20
16
21
17
<!-- These references are used when running on the Benchmarks Server-->
22
18
<ItemGroup Condition =" '$(UseP2PReferences)'!='true'" >
23
- <PackageReference Include =" Microsoft.AspNetCore.Http" Version =" $(MicrosoftAspNetCoreHttpPackageVersion)" />
24
- <PackageReference Include =" Microsoft.AspNetCore.Http.Extensions" Version =" $(MicrosoftAspNetCoreHttpExtensionsPackageVersion)" />
25
- <PackageReference Include =" Microsoft.AspNetCore.Http.Abstractions" Version =" $(MicrosoftAspNetCoreHttpExtensionsPackageVersion)" />
26
19
<PackageReference Include =" Microsoft.AspNetCore.App" Version =" $(MicrosoftAspNetCoreAppPackageVersion)" />
27
20
</ItemGroup >
28
21
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<TargetFrameworks >netcoreapp2.2</TargetFrameworks >
5
5
<TargetFrameworks Condition =" '$(OS)' == 'Windows_NT' " >$(TargetFrameworks);net461</TargetFrameworks >
6
- <NoWarn >NU1605</NoWarn >
7
6
</PropertyGroup >
8
7
9
8
<ItemGroup >
10
9
<ProjectReference Include =" ..\..\src\Microsoft.AspNetCore.Routing\Microsoft.AspNetCore.Routing.csproj" />
11
10
</ItemGroup >
12
11
13
12
<ItemGroup >
14
- <PackageReference Include =" Microsoft.AspNetCore.Http" Version =" $(MicrosoftAspNetCoreHttpPackageVersion)" />
15
- <PackageReference Include =" Microsoft.AspNetCore.Http.Extensions" Version =" $(MicrosoftAspNetCoreHttpExtensionsPackageVersion)" />
16
- <PackageReference Include =" Microsoft.AspNetCore.Http.Abstractions" Version =" $(MicrosoftAspNetCoreHttpExtensionsPackageVersion)" />
17
-
18
13
<PackageReference Include =" Microsoft.AspNetCore.Server.IISIntegration" Version =" $(MicrosoftAspNetCoreServerIISIntegrationPackageVersion)" />
19
14
<PackageReference Include =" Microsoft.AspNetCore.Server.Kestrel" Version =" $(MicrosoftAspNetCoreServerKestrelPackageVersion)" />
20
15
</ItemGroup >
Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ public class DefaultInlineConstraintResolver : IInlineConstraintResolver
24
24
/// <param name="routeOptions">
25
25
/// Accessor for <see cref="RouteOptions"/> containing the constraints of interest.
26
26
/// </param>
27
- // TODO: Temporarily remove obsolete attribute to unblock build
28
- //[Obsolete("This constructor is obsolete. Use DefaultInlineConstraintResolver.ctor(IOptions<RouteOptions>, IServiceProvider) instead.")]
27
+ [ Obsolete ( "This constructor is obsolete. Use DefaultInlineConstraintResolver.ctor(IOptions<RouteOptions>, IServiceProvider) instead." ) ]
29
28
public DefaultInlineConstraintResolver ( IOptions < RouteOptions > routeOptions )
30
29
{
31
30
_inlineConstraintMap = routeOptions . Value . ConstraintMap ;
Original file line number Diff line number Diff line change 2
2
3
3
<PropertyGroup >
4
4
<TargetFrameworks >$(StandardTestTfms)</TargetFrameworks >
5
- <NoWarn >NU1605</NoWarn >
6
5
</PropertyGroup >
7
6
8
7
<ItemGroup >
15
14
</ItemGroup >
16
15
17
16
<ItemGroup >
18
- <PackageReference Include =" Microsoft.AspNetCore.Http" Version =" $(MicrosoftAspNetCoreHttpPackageVersion)" />
19
- <PackageReference Include =" Microsoft.AspNetCore.Http.Extensions" Version =" $(MicrosoftAspNetCoreHttpExtensionsPackageVersion)" />
20
- <PackageReference Include =" Microsoft.AspNetCore.Http.Abstractions" Version =" $(MicrosoftAspNetCoreHttpExtensionsPackageVersion)" />
21
17
<PackageReference Include =" Microsoft.AspNetCore.TestHost" Version =" $(MicrosoftAspNetCoreTestHostPackageVersion)" />
22
18
</ItemGroup >
23
19
You can’t perform that action at this time.
0 commit comments