asp.net core 3 rotativa startup.cs env problem
问题 Im try to use Rotativa ım follow this guide in start.cs in configure function ım add this code RotativaConfiguration.Setup(env); Severity Code Description Project File Line Suppression State Error CS1503 Argument 1: cannot convert from 'Microsoft.AspNetCore.Hosting.IWebHostEnvironment' to 'Microsoft.AspNetCore.Hosting.IHostingEnvironment' ım search this error and find this and convert my code like this RotativaConfiguration.Setup(env.WebRootPath, "Rotativa"); and its give me this error