c# - The type or namespace name" 'BigInteger' could not be found -
seriously bummed this. wanted give biginteger's spin, but:
the type or namespace name" 'biginteger' not found ...
i know how add assembly references , such, there no system.numerics present @ - or i'm , utterly blind.
how fix?
using microsoft visual studio community 2015.
in project properties:
target framework: .net framework 4.5.2
system.numerics present (and selected) in frameworks:
but still, simple:
using system; using system.numerics; namespace cchft { class program { static void main(string[] args) { biginteger b = 0; console.writeline($"...{b}"); } } } ...fails error message mentioned earlier.
it appears you're not looking in right place. screenshot can see you're missing ton of system. assemblies, , ones shown have older versions. looks see under com -> type libraries section of references manager window.
try selecting assemblies -> framework. should see "targeting: .net framework 4.5.2" @ top, , system.numerics 4.0.0.0 in list:
also, ensure after clicking 'ok' on references window, reference appears under project properties:



Comments
Post a Comment