im on linux and used vs code with unity a lot in the past. after a while of not using it apparently there has been an update that broke things. C# output:
Using dotnet configured on PATH
Dotnet path: ../lib/dotnet/dotnet
Activating C# standalone...
[Info - 6:48:05 PM] [Program]Language server initialized
[Info - 6:48:06 PM] [LanguageServerProjectSystem]Loaded MSBuild at /usr/lib/dotnet/sdk/7.0.110
[Info - 6:48:06 PM] [LanguageServerProjectSystem]Loading /media/amiroof/Home/Projects/DnDMapGen/DnDMapGen.sln...
[Error - 6:48:08 PM] [LanguageServerProjectSystem]Failure while loading /media/amiroof/Home/Projects/DnDMapGen/Assembly-CSharp.csproj: 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 - 6:48:08 PM] [LanguageServerProjectSystem]Completed (re)load of all projects in 00:00:01.4733995
and the dotnet --info
output
.NET SDK:
Version: 7.0.110
Commit: ba920f88ac
Runtime Environment:
OS Name: ubuntu
OS Version: 23.04
OS Platform: Linux
RID: ubuntu.23.04-x64
Base Path: /usr/lib/dotnet/sdk/7.0.110/
Host:
Version: 7.0.10
Architecture: x64
Commit: a6dbb800a4
.NET SDKs installed:
6.0.121 [/usr/lib/dotnet/sdk]
7.0.110 [/usr/lib/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.21 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.10 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.21 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.10 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
i tried setting omnisharp.useModernNet
on or off but no difference.