Open henrikx opened 1 year ago
Steps to reproduce:
I will investigate.
But just to ensure you are aware...
If you open VSCode (no folder/workspace opened):
I am unable to reproduce it:
Keep in mind that if VSCode has already folder/workspace already loaded then C# project will be opened in a new VSCode window (process).
Quite strange... Doing the same thing presents a different result on my machine:
Please let me know what details I can provide to help debug this.
I suggest you try to execute the sequence of the "Load Project" steps manually to see where the problem is.
After creating the script in the terminal generate the project manually:
And now try to open the folder where
.csproj
was generated.
Hope it will revile the problem.
After working on #33 I found one use-case that indeed prevented the "Load project" command from working correctly. It is fixed iv v2.2.0
When I click "Load Project" on a CS-Script file, all I get is a new workspace with launch.json and tasks.json. Interestingly, if I go into the command pallete and click load project again it brings up the file I had open. However the file is still not open from within the workspace and thus OmniSharp is not being ran on the file.