-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OmniSharp.MSBuild.MSBuildProjectSystem, Failed to load project file #430
Comments
I did the same steps on macOS, and it did work for me..
Does the .csproj file still actually exists there on the path in .sln? Could you try using a later server version, just in case they provide more diagnostic information on the log (by changing the |
I set
The .csproj file is in the same directory as the solution file: TMA-1:temp doomchild λ ll
total 24
drwxr-xr-x 6 doomchild staff 192 Mar 14 22:55 ./
drwxr-xr-x@ 143 doomchild staff 4576 Mar 14 22:45 ../
-rw-r--r-- 1 doomchild staff 186 Mar 14 22:45 Program.cs
drwxr-xr-x 6 doomchild staff 192 Mar 14 22:45 obj/
-rw-r--r-- 1 doomchild staff 178 Mar 14 22:45 temp.csproj
-rw-r--r-- 1 doomchild staff 1679 Mar 14 22:46 temp.sln I haven't modified the .csproj file at all, and the only modification to the solution file was adding the .csproj to it (via |
You probably want to register an issue in the https://github.com/OmniSharp/omnisharp-roslyn/ repository. Maintainers of the language server will now more about this.. |
Fair enough. |
@doomchild Do you have any fix on this? Thanks! |
I made an issue on the omnisharp-roslyn repo (OmniSharp/omnisharp-roslyn#1135). I haven't heard anything back yet. |
Have you tried loading the solution with visual studio code (it uses the same omnisharp server but maybe a more up-to-date version)
Otherwise could you post the sources in a zip – so I could try to load it on my machine–maybe there is a .net ask mismatch or something that makes the project not load on your machine even though I run the same steps on the shell/command line.
—Saulius Menkevičius
… Am 27.03.2018 um 05:34 schrieb Lee Crabtree ***@***.***>:
I made an issue on the omnisharp-roslyn repo (OmniSharp/omnisharp-roslyn#1135). I haven't heard anything back yet.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Here are the sources. I created this using the above commands. |
Hi, |
Actually I've just solved my problem by installing I hope it helps. |
@kirill-gerasimenko -- thanks, will add this to the README.txt/troubleshooting section |
FWIW I was having the same issue, installing |
I made a brand new solution and project like so:
$ mkdir temp $ cd temp $ dotnet new sln $ dotnet new console $ dotnet sln add temp.csproj
Then I opened up
~/temp/Program.cs
, started the omnisharp server, and looked at the*omnisharp-log*
buffer. Here it is:Why didn't Omnisharp load my brand-new project file?
The text was updated successfully, but these errors were encountered: