Skip to content

Mill Build on Windows 11 Installation Fails with The code execution cannot proceed because VCRUNTIME140.dll was not found #5088

Open
@gamlerhart

Description

@gamlerhart

On a quite clean Windows 11 installation, when I try to run Mill build, I get this error

Image

I used the mill repository itself, and ran:

mill.bat resolve _

It did download the executable, but then failed on this.

Work around, I assume: Change to non-native launcher or install the 'Microsoft Visual C++ 2015 - 2022 Redistributable'.

Not sure what a decent fix would be.

  • Download the missing dll? I assume just downloading and placing it very grey territory license wise.
  • Somehow detect and launch the installer?
  • Maybe there is a GrallVM option?
  • Or leave it as is: Document it in a FAQ entry. A lot of systems will have it installed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions