Module Not Found exception when I referenced opencv windows component project. RRS feed

  • Question

  • Hi

    I am working on a project which uses opencv. I downloaded the opencv and added all the necessary components,additional include directories needed to compile.

    I successfully compiled project and it generates winmd file. Now I add this project to main project as reference. 

    Lets say it has a ImageSupport class. 

    and it is used in main code like this.

    var imageSupport=new ImageSupport();

    at this point it will give error 

    "An exception of type 'System.IO.FileNotFoundException' "

    I tried with referencing the project,referencing winmd file and also used dllimport. Still I got same error at the same code.

    What I am doing wrong here...?


    Tuesday, January 13, 2015 6:14 AM


  • I think you'll have better luck asking here:


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Tuesday, January 13, 2015 7:14 PM