# DotNet Restore does not work

**URL:** https://www.finalbuilder.com/forums/t/dotnet-restore-does-not-work/6084
**Category:** Bugs
**Created:** [March 21, 2017, 8:00am UTC](https://www.finalbuilder.com/forums/t/dotnet-restore-does-not-work/6084 "2017-03-21T08:00:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![swcyberflex](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/swcyberflex/32/149_2.png) [@swcyberflex](https://www.finalbuilder.com/forums/u/swcyberflex)
#### Post date: [March 21, 2017, 8:00am UTC](https://www.finalbuilder.com/forums/t/dotnet-restore-does-not-work/6084/1 "2017-03-21T08:00:15Z")

</div>

Hi,  
  
Running the dotnet restore command in the latest version&nbsp;1.8.1.365 does not work. Using .NET Command Line Tools (1.0.1)  
  
I get the following output from the log&nbsp;  
_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]_

&nbsp;

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [March 21, 2017, 8:21am UTC](https://www.finalbuilder.com/forums/t/dotnet-restore-does-not-work/6084/2 "2017-03-21T08:21:57Z")

</div>

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.
