Skip to content
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

VSCode just updated to 1.48.0 and now omnisharp isn't working #4009

Closed
HawkenKing opened this issue Aug 20, 2020 · 1 comment
Closed

VSCode just updated to 1.48.0 and now omnisharp isn't working #4009

HawkenKing opened this issue Aug 20, 2020 · 1 comment

Comments

@HawkenKing
Copy link

HawkenKing commented Aug 20, 2020

I'm on a mac, the suggested fix is for windows only.

v1.23.1

Unity 2019.4.7f1

        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 'mypath/Assembly-CSharp.csproj'.
mypath/Assembly-CSharp.csproj
mypath/.vscode/extensions/ms-dotnettools.csharp-1.23.1/.omnisharp/1.37.0/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1178,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

[info]: OmniSharp.MSBuild.ProjectManager
        Loading project: mypath/Assembly-CSharp-Editor.csproj
[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 'mypath/Assembly-CSharp-Editor.csproj'.
mypath/Assembly-CSharp-Editor.csproj
mypath/.vscode/extensions/ms-dotnettools.csharp-1.23.1/.omnisharp/1.37.0/omnisharp/.msbuild/Current/Bin/Microsoft.Common.CurrentVersion.targets(1178,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: mypath/Assembly-CSharp.csproj
[fail]: OmniSharp.MSBuild.ProjectManager
        Attempted to update project that is not loaded: mypath/Assembly-CSharp-Editor.csproj
@HawkenKing HawkenKing changed the title VSCode just updated to 1.48.0 and now Unity C# isn't working VSCode just updated to 1.48.0 and nowomnisharp isn't working Aug 20, 2020
@HawkenKing HawkenKing changed the title VSCode just updated to 1.48.0 and nowomnisharp isn't working VSCode just updated to 1.48.0 and now omnisharp isn't working Aug 20, 2020
@filipw
Copy link
Contributor

filipw commented Aug 20, 2020

this is a duplicate - please see #4007 (comment) for a workaround

@filipw filipw closed this as completed Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants