Azure-Samples / Custom-Vision-ONNX-UWP

An example of how to use an ONNX model exported from the Custom Vision Cognitive Service in a UWP application.
MIT License
4 stars 4 forks source link

'Windows.AI.MachineLearning.Preview.LearningModelPreview' is not registered.' #1

Closed arafattehsin closed 5 years ago

arafattehsin commented 6 years ago

I'm experiencing the issue in execution of this sample.


This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [x] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Just download and try to execute, you will face this error.

Any log messages given by the failure

System.TypeLoadException: 'Requested Windows Runtime type 'Windows.AI.MachineLearning.Preview.LearningModelPreview' is not registered.'

Expected/desired behavior

It should work fine.

OS and Version?

Windows 10 1709, 16299.492

Versions

SDK 10.0.17134.0

Mention any other details that might be useful

I am running the most updated SDK of UWP and I am not sure why it's not working.

Blackmist commented 5 years ago

Hi @arafattehsin sorry for the late reply on this. The SDK is still changing and things may break with each new version. The example has been updated for Windows 10 build 17738 and SDK version 17738.

arafattehsin commented 5 years ago

No issues. I figured that out. Thanks a lot for the updates though.