Failed to load project file (under macOS Catalina)
See original GitHub issueIssue Description
I have an existing solution with about 7 projects inside. I’ve had no issues until lately with Omnisharp running so I can click around my functions to navigate between files. However this seems to have changed since macOS Catalina.
OmniSharp log
Failed to load project file '/Users/username/path/to/project/project.csproj'.
/Users/username/path/to/project.csproj(1,1)
Microsoft.Build.Exceptions.InvalidProjectFileException: The imported project "/Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/xbuild/Current/Microsoft.Common.props" was not found. Also, tried to find "Current/Microsoft.Common.props" in the fallback search path(s) for $(MSBuildExtensionsPath) - "/Library/Frameworks/Mono.framework/External/xbuild/" . These search paths are defined in "/Users/username/.vscode/extensions/ms-vscode.csharp-1.21.7/.omnisharp/1.34.7/omnisharp/OmniSharp.exe.config". Confirm that the path in the <Import> declaration is correct, and that the file exists on disk in one of the search paths. /usr/local/share/dotnet/sdk/2.2.402/Sdks/Microsoft.NET.Sdk/Sdk/Sdk.props
C# log
None
Environment information
macOS version: 10.15.1 VSCode version: 1.40.1 C# Extension: 1.21.7
Mono Information
OmniSharp using built-in monoDotnet Information
.NET Core SDK (reflecting any global.json): Version: 2.2.402 Commit: c7f2f96116Runtime Environment: OS Name: Mac OS X OS Version: 10.15 OS Platform: Darwin RID: osx.10.15-x64 Base Path: /usr/local/share/dotnet/sdk/2.2.402/
Host (useful for support): Version: 2.2.7 Commit: b1e29ae826
.NET Core SDKs installed: 2.2.100 [/usr/local/share/dotnet/sdk] 2.2.106 [/usr/local/share/dotnet/sdk] 2.2.301 [/usr/local/share/dotnet/sdk] 2.2.402 [/usr/local/share/dotnet/sdk]
.NET Core runtimes installed: Microsoft.AspNetCore.All 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.2.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.2.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.2.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.2.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 2.2.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 2.2.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] Microsoft.NETCore.App 2.2.7 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download
Visual Studio Code Extensions
Extension | Author | Version |
---|---|---|
android-dev-ext | adelphes | 0.8.0 |
atom-keybindings | ms-vscode | 3.0.6 |
azure-account | ms-vscode | 0.8.7 |
bower | donjayamanne | 0.0.3 |
csharp | ms-vscode | 1.21.7 |
Csharp-ASPNETCore | rahulsahay | 1.11.0 |
debugger-for-chrome | msjsdiag | 4.12.1 |
electron-debug | kodetech | 18.11.1 |
gc-excelviewer | GrapeCity | 2.1.32 |
githistory | donjayamanne | 0.4.6 |
Go | ms-vscode | 0.11.9 |
Gradle | cazzar09 | 1.1.2 |
html-snippets | abusaidm | 0.2.1 |
material-icon-theme | PKief | 3.9.1 |
mono-debug | ms-vscode | 0.15.8 |
mssql | ms-mssql | 1.7.0 |
node-debug2 | ms-vscode | 1.39.3 |
npm-intellisense | christian-kohler | 1.3.0 |
powershell | ms-vscode | 2019.11.0 |
prettify-json | mohsen1 | 0.0.3 |
Theme-MaterialKit | ms-vscode | 0.1.4 |
useful-react-snippets | igorming | 1.5.4 |
vsc-material-theme | Equinusocio | 30.0.0 |
vscode-azureappservice | ms-azuretools | 0.16.1 |
vscode-npm | fknop | 3.3.0 |
vscode-npm-script | eg2 | 0.3.9 |
vscode-react-native | msjsdiag | 0.13.1 |
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (3 by maintainers)
Top GitHub Comments
Found it.
please update mono 5.2.0 to 6.4.0