fixed .net 5 build

This commit is contained in:
JanEggers
2020-12-16 14:45:15 +01:00
parent 37b783908a
commit 02e65bca67
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ namespace MQTTnet.TestApp.AspNetCore2
}
// In class _Startup_ of the ASP.NET Core 3.1 project.
#if NETCOREAPP3_1
#if NETCOREAPP3_1 || NET5_0
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
app.UseRouting();