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

WinRT (win 10) component FileNotFoundException #72

Open
limefrogyank opened this issue Aug 24, 2016 · 0 comments
Open

WinRT (win 10) component FileNotFoundException #72

limefrogyank opened this issue Aug 24, 2016 · 0 comments

Comments

@limefrogyank
Copy link

limefrogyank commented Aug 24, 2016

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....

@limefrogyank limefrogyank changed the title WinRT (win 10) component help WinRT (win 10) component FileNotFoundException Aug 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant