Skip to content

VCRUNTIME140_1.dll was not found #178

Open
@icnocop

Description

@icnocop

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions