Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
César Souza edited this page Sep 22, 2017 · 25 revisions

Installing the framework trough NuGet in Unity

You can either follow the instructions below or download a pre-configured sample application.

  1. Create a new Unity application
  2. Click Edit -> Project Settings -> Player
  3. Change "Api Compatibility Level" from ".NET 2.0 Subset" to ".NET 2.0"
  4. Click Assets -> Open C# Project
  5. Create a new file named "nuget.config" in your project's solution with the following contents:
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <config>
        <add key="repositoryPath" value="Assets\Packages" />
      </config>
    </configuration>
  6. Close Visual Studio
  7. Click Assets -> Open C# Project again to re-open Visual Studio
  8. Right click your solution, then click "Manage NuGet Packages for Solution..."
  9. Click "Browse" in the top left corner
  10. Search for the Accord.NET packages you would like to add (i.e. "Accord.MachineLearning")
  11. Click on your application name on the right to mark its checkbox
  12. Click "Install"
  13. Accept the license terms

Note: In case one of the libraries you selected has installed SharpZipLib, you might want to delete the net11, SL3 and SL4 versions of this library and leave only the net20 version. Otherwise, Unity will complain saying that multiple versions of a library are being referenced in the project.

  1. Accord.NET Framework
  2. Getting started
  3. Published books
  4. How to use
  5. Sample applications

Help improve this wiki! Those pages can be edited by anyone that would like to contribute examples and documentation to the framework.

Have you found this software useful? Consider donating only U$10 so it can get even better! This software is completely free and will always stay free. Enjoy!

Clone this wiki locally