microsoft / AISkillsForWindows

Contains samples for implementing Windows Skills by extending the preview base API and using exsting skill packages
https://docs.microsoft.com/en-us/windows/ai/windows-vision-skills/
MIT License
166 stars 46 forks source link

Exception throw out when run sample "SkeletalDetectorSample_Desktop" #66

Closed JadeCoding closed 4 years ago

JadeCoding commented 4 years ago

Hi, I'm trying to run the vpu_preview sample "SkeletalDetectorSample_Desktop", my OS version is 19569, so I updated it on the project property and also updated the nuget package https://www.nuget.org/packages/Microsoft.AI.Skills.SkillInterfacePreview/# to latest one.

It's built successfully but when run it, exception happens. Do I need additional configuration to get it run? Thanks.

Exception thrown at 0x00007FFF88F9A599 (KernelBase.dll) in SkeletalDetectorSample_Desktop.exe: WinRT originate error - 0x80040154 : 'Class not registered'. 'SkeletalDetectorSample_Desktop.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. 'SkeletalDetectorSample_Desktop.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Exception thrown at 0x00007FFF88F9A599 in SkeletalDetectorSample_Desktop.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x000000CDA515E970.

JadeCoding commented 4 years ago

existing: <?xml version="1.0" encoding="utf-8"?>

Need update all the decencies to: <?xml version="1.0" encoding="utf-8"?>