UWP App crash

rashid 26 Reputation points
2019-12-06T22:02:47.767+00:00

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
    2020-01-12T13:17:29.947+00:00

    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.

    Rashid

    0 comments No comments

  2. Shimmy Weitzhandler 246 Reputation points
    2020-07-03T02:58:43.88+00:00

    To me, the solution was found here.

    0 comments No comments