microsoft / microsoft/ai-dev-gallery

[BUG] The procedure entry point TryCreatePackageDependency could not be located

Open
#474 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
1.5k
Forks
223
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Encountered this bug trying to run the Semantic Search sample with the all-MiniLM-L6-v2 model on Windows 10.

---------------------------
AI Dev Gallery Preview: AIDevGallery.exe - Entry Point Not Found
---------------------------
The procedure entry point TryCreatePackageDependency could not be located in the dynamic link library C:\Program Files\WindowsApps\Microsoft.AIDevGallery_0.5.0.0_x64__8wekyb3d8bbwe\Microsoft.Windows.AI.MachineLearning.dll. 
---------------------------
OK   
---------------------------
Image

To Reproduce
Steps to reproduce the behavior:

  1. Install app
  2. Click on Semantic Search card from home carousel
  3. Select the all-minilm-l2-v2 model and install
  4. wait for download
  5. Select installed model now on top of model select dialog
  6. Click Run sample
  7. See issue

Clicking OK on dialog prompts the same error dialog again, clicking ok a 2nd time and app crashes.

Restarting the app does not resolve the issue.

Same issue with L12 model and semantic search && Phi 3 Mini DirectML on Paraphrase Text - basically seems like App won't work on my machine with this error.

Expected behavior
Sample loads?

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Please complete the following information:

  • App Version: 0.5.0.0 from Microsoft Store
  • Windows Version: Windows 10 22H2 19045.6456

Additional context
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Semantic Search sample on Windows 10 22H2 with the listed models and inspect the TryCreatePackageDependency failure in Microsoft.Windows.AI.MachineLearning.dll. Compare the app's runtime dependencies with the installed Windows environment. Done means the affected samples launch without the entry-point dialogs or crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
machine-learning, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.