fsprojects / fsprojects/Paket

Error -1073740791 when running paket.exe in a Windows Docker image from dotnet/msbuild

Open
#4,289 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs investigation
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

I am trying to build my software in a Windows Server ltsc2022 image with a full Visual Studio 2022 installation (version 17.12). When I run .paket/paket.exe restore it just does apparently nothing, running it from 'dotnet restore' fails with code -1073740791.

...paket\Paket.Restore.targets(171,3): error MSB3073: The command ""C:\git\MyProject.paket\paket.exe" restore" exited with code -1073740791.

Any idea how to debug this? Is there a runtime missing somehow in the Docker image? Running the stuff locally on Win 11 just works.

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 with the reported .paket/paket.exe restore invocation and .paket/Paket.Restore.targets at line 171, then reproduce it with dotnet restore in the Windows Server ltsc2022 Docker image. Compare the failing container run with the working Windows 11 run and identify what causes exit code -1073740791; done means the restore works or the missing runtime requirement is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
build-system, devops, 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.