Error CS1061 'WebApplication' does not contain a definition for 'UseFastReport' and no accessible extension method 'UseFastReport' accepting a first argument of type 'WebApplication' could be found (are you missing a using directive or an assembly reference?) using FastReport; using Microsoft.AspNetCore; using Microsoft.Extensions.FileProviders; using Posware; var builder = WebApplication.CreateBuilder(args); builder.Services.AddCors(options => { options.AddPolicy("MyAllowedOrigins", policy => { policy.AllowAnyOrigin() .AllowAnyHeader() .AllowAnyMethod(); }); }); var app = builder.Build(); app.UseFastReport(); app.UseDefaultFiles(); app.UseStaticFiles(); var reportPath = Path.Combine(builder.Environment.WebRootPath, "Files"); var reportForm = Path.Combine(builder.Environment.WebRootPath, "FilesFrx"); app.UseHttpsRedirection(); app.MapGet("/", () => "web site is live."); app.Run();