So i was building a web api in vs 2022 RC with the ASP.net Core Web Empty template with net 6.
and i noticed that in the program.cs it doesn't show Using system.io etc... It seems to compile and run so im interested in why it is doing this. is this a setting? is this new to the IDE? I cant find it on google maybe i don't know what to search for. Any ideas how to re enable the generating of Using in code it or what is causing it?
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
if (app.Environment.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
app.MapGet("/", () => "Hello World!");
app.Run();