Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

802
Views
How do I to fix IntelliSense in VSCode not working and OmniSharp error messages when loading unity C# scripts?

I have installed VSCode, the C# extension for VSCode, via the extensions panel. I then installed .NET 5.0 from the Microsoft website. Finally, I installed the Unity hub and Unity. Unity booted I went into the Preferences menu (a submenu within Edit) and in External Tools set the script editor to Visual Studio Code. I started following a tutorial to learn the basics, but when I created a script and opened it in VSCode I got the following error messages in the OmniSharp log:

[fail]: OmniSharp.MSBuild.ProjectLoader
        The reference assemblies for .NETFramework,Version=v4.7.1 were not found. To resolve this, 
        install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your 
        application.
You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks
[warn]: OmniSharp.MSBuild.ProjectManager
        Failed to load project file 'c:\Users\richa\BrackeysTutorial\Assembly-CSharp.csproj'.
c:\Users\richa\BrackeysTutorial\Assembly-CSharp.csproj
c:\Users\richa\.vscode\extensions\ms-dotnettools.csharp-1.23.9\.omnisharp\1.37.7-
beta.23\.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1180,5): Error: The reference 
assemblies for .NETFramework,Version=v4.7.1 were not found.
To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or
retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks

[fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: c:\Users\richa\BrackeysTutorial\Assembly-CSharp.csproj

This result of this was that IntelliSense didn't work and I got various other errors in the log when I started typing. What is the best way to fix this problem?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I solved the problem by installing the developer pack 4.7.1 as the error message suggested from this site. I tried a couple of things before this, like changing OmniSharp settings, but that didn't work. Unfortunately, this may not work for Mac or Linux users.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!