Have you checked that you have a .sln file that is aware of the.csproj you are working with? This has caught me out a couple of times
.sln
.csproj
Sorry, I don't fully understand. What's a sln file? Why does it need to know about my projwct? And how does that help VSC?
sln
Have you created a dotnet project for your C# file? My understanding is that omnisharp looks for a .sln file to decide what files that add intellisense to.
A .sln file is a dotnet file that references a .csproj files.
I have, but it never generated thst file. And why would I have multiple CSPs?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Have you checked that you have a
.sln
file that is aware of the.csproj
you are working with? This has caught me out a couple of timesSorry, I don't fully understand. What's a
sln
file? Why does it need to know about my projwct? And how does that help VSC?Have you created a dotnet project for your C# file? My understanding is that omnisharp looks for a
.sln
file to decide what files that add intellisense to.A
.sln
file is a dotnet file that references a.csproj
files.I have, but it never generated thst file. And why would I have multiple CSPs?