C
C#2y ago
Σrror

❔ Microsoft.Common.CurrentVersion.targets | reference assemvlies for [...] were not found.

Hey guys, I an trying to setup c# linux using rider. I already installed the dotnet sdk and mono. But unfortunatly i can't compli my programs and i get this error: Microsoft.Common.CurrentVersion.targets(1229, 5): [MSB3644] The reference assemblies for .NETFramework,Version=v4.8 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
13 Replies
Angius
Angius2y ago
.NETFramework,Version=v4.8 .NET Framework 4.8 is strictly Windows-only
Σrror
ΣrrorOP2y ago
ahh
Angius
Angius2y ago
Only .NET Core and .NET 5 and above are cross-platform
Σrror
ΣrrorOP2y ago
ok for me it doesn't list .Net 5 only up to .Net v4.8
Angius
Angius2y ago
Where?
Σrror
ΣrrorOP2y ago
Σrror
ΣrrorOP2y ago
when creating a new solution
Angius
Angius2y ago
Angius
Angius2y ago
Because you explicitly choose the .NET Framework version Choose the .NET / .NET Core one As I said, this one is fully cross-platform
Σrror
ΣrrorOP2y ago
ah okay. Earlier i red a article about those two thats why i chose .NET Framework. But it works now thanks :)
Angius
Angius2y ago
Whatever you read was either old or wrong. There's zero reason to start any sort of a new project with .NET Framework For all intents and purposes treat it as nonexistent
Σrror
ΣrrorOP2y ago
Alright thanks for the advice!
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server