locked
Namespace `MicrosoftResearch.Infer.Learners.Mappings' already contains a definition for `ClassifierMappingExtensions'

    Question

  • I downloaded and imported the root folder into my unity game and got the following error:

    Assets/Infer.NET 2.7.1803.1901/Learners/Core/Mappings/ClassifierMappingExtensions.cs(15,25): error CS0101: The namespace `MicrosoftResearch.Infer.Learners.Mappings' already contains a definition for `ClassifierMappingExtensions'

    Please help!


    • Edited by vipin8169 Tuesday, July 31, 2018 8:48 PM
    Tuesday, July 31, 2018 8:47 PM

All replies

  • The Infer.NET folder contains a Bin folder with dlls and a Learners folder with source code.  If you include both of these in the same project, then you will get a conflict where things are defined twice.
    Wednesday, August 1, 2018 10:32 AM
    Owner
  • It turns out that file is redundant.  You should delete it.
    Tuesday, August 7, 2018 1:35 PM
    Owner