Area:ErrorHandlingArea:RestoreRepeatableBuildCategory:Quality WeekFunctionality:RestorePriority:2Type:Bughelp wanted
倉庫指標
- 星標
- (1,459 顆星)
- PR 合併指標
- (平均合併 464天 23小時) (30 天內合併 1 個 PR)
描述
Currently that's not the case.
Repro steps
- dotnet new classlib
- Enable lock file
- dotnet restore (generate lock file).
- dotnet restore /p:LockedMode="true"
- dotnet restore /p:LockedMode="true" /p:RestoreForceEvaluate="true"
The last one should fail, as the instructions do not make sense. From skimming the code, RestoreForceEvaluate takes precedence.
//cc @anangaur It's a trivial fix, so prioritize if you see a need for it.