How to add a reference to System.Numerics.dll

后端 未结 5 1036
心在旅途
心在旅途 2020-11-30 12:08

I want to use the BigInteger class from the System.Numerics but if i want to write

using System.Numerics;

Numerics is not fou

相关标签:
5条回答
  • 2020-11-30 12:36

    If you are using .NET 4.0, you can right click in References -> add reference -> In the .NET tab, look for System.Numerics.dll

    enter image description here

    0 讨论(0)
  • 2020-11-30 12:38

    http://msdn.microsoft.com/en-us/library/7314433t(v=vs.80).aspx

    From MSDN:

    1. In Solution Explorer, select the project.
    2. On the Project menu, choose Add Reference.
    3. The Add Reference dialog box opens.
    4. Select the tab indicating the type of component you want to reference.
    5. In the top pane, select the component you want to reference, and then click the Select button. Press CTRL while clicking to select multiple components.
    0 讨论(0)
  • 2020-11-30 12:46

    Right click the Reference folder in your solution and choose Add Reference. Then go to <systemDrive>:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089 (That's what it is for me; your path might be different.)

    0 讨论(0)
  • 2020-11-30 12:53

    in Visual Studio, go to Solition Exporer, expand your project, right click in a folder called "References" and click "Add References", browse the references (assemblies) until you find the one you want. If you're using VS 2010, you can simply type "system.numerics" on the search up top. Then just select the reference and click Add, then Close.

    0 讨论(0)
  • 2020-11-30 13:03

    Right click on "References" in the solution explorer and click on "Add Reference" as shown below in the image.

    enter image description here

    0 讨论(0)
提交回复
热议问题