-
Notifications
You must be signed in to change notification settings - Fork 676
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
Unity assemblies targeting .Net framework 4.7.1 fail to load on Mac, plugin v2.0.328 #6048
Comments
I also have the same problem, does anyone know how to solve it? |
I have solved it by adding export FrameworkPathOverride=YourMonoInstallPath to ~/.zprofile in my pc |
@Ron3 install another C# version could resolve it. I install C#v1.26.0 , than everything has been right. |
The completion missing is caused because we weren't able to load the project successfully. If you're not able to use devkit, we will likely not be able to load the project until #5721 is completed. |
Since the 2.0.320 version, this plugin has made a lot of changes. If you use the old version, when you type ".", After that, the prompt speed will be very slow on my m1, even 5 seconds, 10 seconds later Prompt, while the new version is very fast, and should be able to prompt related properties/functions at the millisecond level. https://marketplace.visualstudio.com/items/ms-dotnettools.csharp/changelog 2.0.320 |
As @dibarbet mentioned, this is a project load issue, even though it manifests as a completion error. The error is caused by us not able to retrieve the symbol of |
@jasonmalinowski Any thoughts on making errors like this more actionable? I believe (unconfirmed) this particular issue is we are not able to resolve system symbols like |
Fixed by dotnet/roslyn#69795 |
Issue Description
Hello developers, when I use vscode to open my Unity(2022.2.15f1c1) project on Mac(macOS 13.2.1 (22D68)), I find that the code cannot be completed intelligently, and the C# plug-in reports an error.
Environment data
dotnet --info output:
.NET SDK:
Version: 7.0.306
Commit: f500069cb7
Runtime Environment:
OS Name: Mac OS X
OS Version: 13.2
OS Platform: Darwin
RID: osx.13-arm64
Base Path: /usr/local/share/dotnet/sdk/7.0.306/
Host:
Version: 7.0.9
Architecture: arm64
Commit: 8e9a17b221
.NET SDKs installed:
7.0.203 [/usr/local/share/dotnet/sdk]
7.0.306 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 7.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
VS Code version:
Version: 1.81.0 (Universal)
Commit: 6445d93c81ebe42c4cbd7a60712e0b17d9463e97
Date: 2023-08-02T12:40:02.782Z
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.3.0
C# Extension version:
Name: C#
Id: ms-dotnettools.csharp
Description: Base language support for C#
Version: 2.0.328
Publisher: Microsoft
OmniSharp log
Steps to reproduce
Expected behavior
Code could be complete.
Actual behavior
The C# extension doesn't work in the VS Code,I can't complete the function code from the parent class.
The text was updated successfully, but these errors were encountered: