mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-19 02:53:06 +08:00
fixed .net 5 build
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user