Skip to content

help Im using unity with vs code but I keep getting these errors #3968

@Mishkat6541

Description

@Mishkat6541

OmniSharp log

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\mishk\brackeys tutes\Assembly-CSharp.csproj'.
c:\Users\mishk\brackeys tutes\Assembly-CSharp.csproj
c:\Users\mishk.vscode\extensions\ms-dotnettools.csharp-1.22.1.omnisharp\1.35.3.msbuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(1177,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

Attempted to update project that is not loaded: c:\Users\mishk\brackeys tutes\Assembly-CSharp.csproj

Steps to reproduce

It displays these errors the moment I open vs code

Expected behavior

There should be no errors as i have downloaded a SDK/Targeting pack as it it had said to so I dont know what to do now.

Actual behavior

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions