Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

WinRT (win 10) component FileNotFoundException #72

@limefrogyank

Description

@limefrogyank

I've gotten the source to build for both x86 and ARM successfully. I've created my own C++ UWP app and managed to load all the libraries properly just like in your sample (Raspberry Pi ARM sample). It runs fine on my phone.

However, as soon as I try to do the same thing using a WinRT Component instead of directly into a C++ UWP app, I get exceptions. Specifically, in managed code, I get System.IO.FileNotFoundException. There's something extra that I probably need to do to get this working in a component, but I can't figure it out for the life of me.

Steps so far:

  1. Added dlls (both debug & release) to component project and set as 'Content'.
  2. Added include directories in the C/C++-->General menu.
  3. Added correct directory to "Additional Library Directories" under Linker-->General
  4. Added all the lib files I'm using to "Additional Dependencies" under Linker-->Input

Of course, I've referenced my component in the c# project. But as soon as I try to call the main constructor for my class in the component within my C# project, it throws that FileNotFoundException.

What's missing? Thanks! Hopefully, this project is still being supported....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions