If you are getting this issue after you got the new update to the vs code and before everything was working normally
To solve the issue
- Download and install the official version of the unity extension . Announcing the Unity extension for Visual Studio Code - Visual Studio Blog fdsfasdf
- Go to package manager and unity registry , search “studio” and update both extensions to recommended version.
Open the VSCode and check for code completion - If still no code completion , Open the project folder and there you can see all your csproj files for eg : “Assembly-CSharp.csproj”
- Open the csproj file and search for word “TargetFramework”. You will see one like this <TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
- <TargetFramework>net7.0</TargetFramework> copy this and paste under the step 5 line. Do same for all your csproj files if you have more than one.
Now you can see code completion and syntax highliting etc.
'Developments > Unity3D' 카테고리의 다른 글
VSCode에서 "The reference assemblies for .NETFramework,Version=v4.0 were not found." 오류 발생시 (0) | 2023.08.07 |
---|---|
안드로이드 Keystore 만들기 (0) | 2023.05.29 |
Resolution Failed. 오류 해결 (0) | 2023.05.29 |
Gradle failed 오류 대응 (0) | 2023.05.29 |
(Windows) Unity3D + VSCode + .NET 4.X 설정 (0) | 2022.12.15 |