✅ Adding reference with CLI
How can i reference System.Numerics with the CLI ?
Tried
dotnet add reference C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Numerics.dll
but it says that System.Numerics is an invalid project9 Replies
Do you even need to reference the DLL?
Not on .NET 7
you shouldn't have to reference it in netfx either
You right, it compile without any further needs, my text editor is just not set correctly
That's why using a good and proper IDE matters lol
@lucas_ what runtime are you even targeting anyhow?
im not even targetting anything specific
downloaded the first sdk i found and ran dotnet new
Im just trying to setup neovim for c# but its more painful that it should be
then you'll be targeting .net 7 (unless you downloaded an old SDK for some reason)
in which case you couldn't use anything in C:\Windows\Microsoft.NET\Framework anyhow
that's all old Framework stuff
if you need something that doesn't ship in the base runtime, you'll get it from nuget
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.