Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

803
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda