From 96f29c5696946c6f1365ea8f9e8d2318776f7915 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Thu, 29 Mar 2018 12:49:40 -0700 Subject: [PATCH] Use latest compat version in MvcSandbox --- samples/MvcSandbox/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/MvcSandbox/Startup.cs b/samples/MvcSandbox/Startup.cs index 2edcde97b4..b963a03a6f 100644 --- a/samples/MvcSandbox/Startup.cs +++ b/samples/MvcSandbox/Startup.cs @@ -14,7 +14,7 @@ namespace MvcSandbox // This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) { - services.AddMvc(); + services.AddMvc().SetCompatibilityVersion(Microsoft.AspNetCore.Mvc.CompatibilityVersion.Version_2_1); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.