Restore.cmd does not complete
- 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
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