MicrosoftEdge / MicrosoftEdge/WebView2Samples

VCRUNTIME140_1.dll was not found

Open
#178 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi.

Thank you for WebView2Samples.

When running WebView2SampleWinComp.exe on a machine without the Visual C++ runtime, the following error occurs:

---------------------------
WebView2SampleWinComp.exe - System Error
---------------------------
The code execution cannot proceed because VCRUNTIME140_1.dll was not found. Reinstalling the program may fix this problem. 
---------------------------
OK   
---------------------------

The requirement to download and install the Visual C++ runtime should be documented.

For example, on Windows Server 2019, I had to install the x64 version: https://aka.ms/vs/17/release/vc_redist.x64.exe

Source:
https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022

Thank you.

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 locating the documentation for running WebView2SampleWinComp.exe and verify the Visual C++ redistributable details against the linked Microsoft guidance. Done means the documentation explains the runtime requirement and links to the appropriate x64 download for environments such as Windows Server 2019.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.