dotnet / dotnet/roslyn

Restore.cmd does not complete

Open
#80,644 8 comments 0 reactions 0 assignees View on GitHub
Area-Infrastructure
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

**Version Used**:
main branch

**Steps to Reproduce**:

1. checkout repo on blank machine (win10)
2. run Restore.cmd

**Expected Behavior**:
It works.
**Actual Behavior**:
.\Restore.cmd
Das Tool "dotnet-format" (Version 7.0.360304) wurde wiederhergestellt. Verfügbare Befehle: dotnet-format
Das Tool "powershell" (Version 7.0.0) wurde wiederhergestellt. Verfügbare Befehle: pwsh

Die Wiederherstellung war erfolgreich.
Roslyn.sln:
Ausnahme beim Aufrufen von "Start" mit 0 Argument(en): "Das System kann die angegebene Datei nicht finden"
System.Management.Automation.MethodInvocationException: Ausnahme beim Aufrufen von "Start" mit 0 Argument(en): "Das System kann die angegebene Datei nicht finden" ---> System.ComponentModel.Win32Exception: Das System kann die angegebene Datei nicht finden
bei System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
bei CallSite.Target(Closure , CallSite , Object )
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
bei System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
bei System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
bei System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
bei Exec-Process, D:\GitHub\taori\roslyn\eng\common\tools.ps1: Zeile 92
bei MSBuild-Core, D:\GitHub\taori\roslyn\eng\common\tools.ps1: Zeile 839
bei InitializeToolset, D:\GitHub\taori\roslyn\eng\common\tools.ps1: Zeile 728
bei BuildSolution, D:\GitHub\taori\roslyn\eng\build.ps1: Zeile 251
bei , D:\GitHub\taori\roslyn\eng\build.ps1: Zeile 761
bei , : Zeile 1

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure by running Restore.cmd on a blank Windows 10 machine, then inspect eng/common/tools.ps1 around line 92 and eng/build.ps1 around lines 251 and 761. Trace the missing process reported during Roslyn.sln setup; done means Restore.cmd completes successfully from a clean checkout.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, shell
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.