UWP App crash

rashid 26 Reputation points

I have UWP, The debug and the Release versions work fine( visual studio 2017) . The release version passes all the windows app certification tests. The store version builds and passes the certification tests. However, when testing the store version XXX_2.1.0.0_x86.msixbundle, it crashes when accessing any of the App pdf files or when accessing any functionality related to the OpenCV dlls.

The pdf files are in Assets folder.
the Dlls have been added through visual studio and "content" property is set to YES, and are present in the appropriate AppX folder.

From what I can gather from my testing, it seems like the pdf files and the dlls are not present in the store bundle. What am I missing?? Any help would be appreciated.

Universal Windows Platform (UWP)
{count} vote

2 answers

Sort by: Most helpful
  1. rashid 26 Reputation points

    I have solved the issue with the PDF files, Apart from adding them as content files I also set "copy always" option in the properties.

    For the DLLs, I think there is a bug in Visual Studio. I solved this by using a Nuget package with contained the DLLs.


    0 comments No comments

  2. Shimmy Weitzhandler 246 Reputation points

    To me, the solution was found here.

    0 comments No comments