From 27a0951a8897a5a7c41e90d58ceb73c72d060b1c Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Fri, 7 Sep 2018 13:34:10 +1200 Subject: [PATCH] Update dependencies and re-mark obsolete constructor (#783) --- benchmarkapps/Benchmarks/Benchmarks.csproj | 7 ------- samples/RoutingSample.Web/RoutingSample.Web.csproj | 5 ----- .../DefaultInlineConstraintResolver.cs | 3 +-- .../Microsoft.AspNetCore.Routing.FunctionalTests.csproj | 4 ---- 4 files changed, 1 insertion(+), 18 deletions(-) diff --git a/benchmarkapps/Benchmarks/Benchmarks.csproj b/benchmarkapps/Benchmarks/Benchmarks.csproj index 25c8132528..3c5753cc64 100644 --- a/benchmarkapps/Benchmarks/Benchmarks.csproj +++ b/benchmarkapps/Benchmarks/Benchmarks.csproj @@ -4,7 +4,6 @@ netcoreapp2.2 $(BenchmarksTargetFramework) true - NU1605 @@ -13,16 +12,10 @@ - - - - - - diff --git a/samples/RoutingSample.Web/RoutingSample.Web.csproj b/samples/RoutingSample.Web/RoutingSample.Web.csproj index 0597915057..731de09658 100644 --- a/samples/RoutingSample.Web/RoutingSample.Web.csproj +++ b/samples/RoutingSample.Web/RoutingSample.Web.csproj @@ -3,7 +3,6 @@ netcoreapp2.2 $(TargetFrameworks);net461 - NU1605 @@ -11,10 +10,6 @@ - - - - diff --git a/src/Microsoft.AspNetCore.Routing/DefaultInlineConstraintResolver.cs b/src/Microsoft.AspNetCore.Routing/DefaultInlineConstraintResolver.cs index ad4570a89c..1ed1f8e1ab 100644 --- a/src/Microsoft.AspNetCore.Routing/DefaultInlineConstraintResolver.cs +++ b/src/Microsoft.AspNetCore.Routing/DefaultInlineConstraintResolver.cs @@ -24,8 +24,7 @@ namespace Microsoft.AspNetCore.Routing /// /// Accessor for containing the constraints of interest. /// - // TODO: Temporarily remove obsolete attribute to unblock build - //[Obsolete("This constructor is obsolete. Use DefaultInlineConstraintResolver.ctor(IOptions, IServiceProvider) instead.")] + [Obsolete("This constructor is obsolete. Use DefaultInlineConstraintResolver.ctor(IOptions, IServiceProvider) instead.")] public DefaultInlineConstraintResolver(IOptions routeOptions) { _inlineConstraintMap = routeOptions.Value.ConstraintMap; diff --git a/test/Microsoft.AspNetCore.Routing.FunctionalTests/Microsoft.AspNetCore.Routing.FunctionalTests.csproj b/test/Microsoft.AspNetCore.Routing.FunctionalTests/Microsoft.AspNetCore.Routing.FunctionalTests.csproj index 8305c160dc..9520c32ff5 100644 --- a/test/Microsoft.AspNetCore.Routing.FunctionalTests/Microsoft.AspNetCore.Routing.FunctionalTests.csproj +++ b/test/Microsoft.AspNetCore.Routing.FunctionalTests/Microsoft.AspNetCore.Routing.FunctionalTests.csproj @@ -2,7 +2,6 @@ $(StandardTestTfms) - NU1605 @@ -15,9 +14,6 @@ - - -