DEV Community

loading...

Discussion on: Why isn't IntelliCode working for C# in VSCode?

Collapse
baenencalin profile image
Calin Baenen Author

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?

Collapse
harryammon profile image
Harry Ammon

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.

If you are still having trouble I would recommend having a read of this.

Thread Thread
baenencalin profile image
Calin Baenen Author

I have, but it never generated thst file. And why would I have multiple CSPs?