DotNet Restore does not work

Hi,

Running the dotnet restore command in the latest version 1.8.1.365 does not work. Using .NET Command Line Tools (1.0.1)

I get the following output from the log 
4:45:03 PMStage: Build
4:45:04 PM Server To Agent Workspace Sync
4:45:04 PM Started syncing files from the server[localhost] to the agent [removed]
4:45:25 PM Finished syncing files from the server [localhost] to the agent [removed].
4:45:25 PM DotNet Restore []
4:45:25 PM Parameters
4:45:25 PM Working Directory: D:\CI_AWS\Ws\4249\Source\[removed]
4:45:25 PM Executable: C:\Program Files\dotnet\dotnet.exe
4:45:25 PM Arguments: restore --source [removed] --ignore-failed-sources --verbosity Debug
4:45:25 PM Environment Variables
4:45:25 PM No environment variables specified
4:45:25 PM MSBUILD : error MSB1018: Verbosity level is not valid.
4:45:25 PM Switch: Debug
4:45:25 PM For switch syntax, type "MSBuild /help"
4:45:25 PM Agent To Server Workspace Sync
4:45:25 PM Started syncing files from the agent to the server.
4:45:25 PM Finished syncing files from the agent to the server.
4:45:26 PM Artifacts Registration
4:45:26 PM Started registering artifacts
4:45:26 PM Finished registering artifacts


  • Changing the option for "Log Standard Output" on the dotnet restore command doesn't appear to do anything. It passes the --verbosity option and logs it whether I have it checked or not
  • The options for log standard output are invalid as per below. In continua I have debug, information etc. These do not correlate to "dotnet restore --help"
  • There also appeared to be problems with the "Force English Output" option. This option also appears to be invalid for dotnet restore

From dotnet restore --help
Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]

 

Hi Sean,

Thanks for reporting this. The command line options appear to have changed since we last looked at the dotnet actions - in fact they seem to change every other day! We’ll get this updated in the next couple of days.