error trying to build WebView2APISample

Open
#248 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
build-system

Research direction

Start with SampleApps/WebView2APISample/WebView2APISample.vcxproj at line 486 and inspect the reference to Microsoft.Windows.ImplementationLibrary. Check the build log and NuGet package layout to determine why the referenced targets file is absent despite the package being installed; done means the Debug x64 WebView2APISample build completes successfully.

Written by the indexing model from the issue text.

Description

build log:
Build started at 23.10... 1>------ Build started: Project: WebView2APISample, Configuration: Debug x64 ------ 1>C:\Users\Kone\source\repos\WebView2\SampleApps\WebView2APISample\WebView2APISample.vcxproj(486,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Windows.ImplementationLibrary.1.0.220201.1\build\native\Microsoft.Windows.ImplementationLibrary.targets. 1>Done building project "WebView2APISample.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== ========== Build completed at 23.10 and took 01,231 seconds ==========
I hava installed the Microsoft.Windows.ImplamentationLibrary via nuget

Dominant language
C++
Stars
1k
Forks
521
Avg merge
13m
Merged PRs (30d)
1

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.

More from MicrosoftEdge/WebView2Samples

All issues in MicrosoftEdge/WebView2Samples

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.