Strangely, at the same time, Intellisense was working fine in another C# project repo running ASP.NET Core 2.2.įor the project in question, I was puzzled to see successful logs for each reboot of the Omnisharp server as well as perfectly clean builds and runs. I also experienced a sudden disappearance of Intellisense after pulling changes to one of our enterprise repos that included an upgrade from ASP.NET Core 2.0 to 2.1. ![]() Hope my information helps you! Enjoy your VSCode!Īnother troubleshooting strategy to try if none of the above works out is uninstalling Mono, which is unnecessary anyways if you're using. ![]() Here is another link with the same solution: But, remember that the IntelliSense will be automatically available once all the projects in the folder are successfully loaded.įeel free to extend the Timeout setting since it will help you getting intellisense even-though you are not getting it immediately. But don't worry, this won't stop you anymore working with project files. I know it is too long to wait for 200 seconds. If you get any error message informing you about timeout, please get into the settings of the Visual Studio Code, and add a configuration override like the one below: "omnisharp.projectLoadTimeout": 200 They mean that your projects are getting recognised by OmniSharp Extension. Post that, you may see couple of lines coming up like below, : Target: /Users//.vscode/extensions/ms-vscode.csharp-1.12.1/.omnisharp/run So, when you look at the omnisharp's output window after immediately opening the project/ solution folder, you may see the following lines Starting OmniSharp server at 09:26:44 ![]() When you open a project/solution folder, the OmniSharp gets the project dependencies from either project.json or from the dotnet solution file (if the project/solution created with other versions of visual studio). Inorder to make the intelligence working, the Visual Studio Code extension OmniSharp should be there along with Mono.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |