var builder = WebApplication.CreateBuilder(args);
control
+ space
to execute the menu command Edit
-> Intellisense
-> Complete Word
builder.Services.AddS
I expected the intellisense to pop up and pre-select "AddScoped" in the list. But it just sat there.
Intellise generally works but not always. This is one example where it doesn't, at least for me.
Does it work for you? Should it work as I described? I'm thinking so...
I'm using the following version if VS:
Microsoft Visual Studio Professional 2022
Version 17.4.0
VisualStudio.17.Release/17.4.0+33103.184
I was having the same issue. Used Visual Studio Installer and executed a 'repair'. Everything works now!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.