# Support t:Restore in msbuild action

**URL:** https://www.finalbuilder.com/forums/t/support-t-restore-in-msbuild-action/6396
**Category:** Feature Requests
**Created:** [January 11, 2019, 11:49pm UTC](https://www.finalbuilder.com/forums/t/support-t-restore-in-msbuild-action/6396 "2019-01-11T23:49:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![neuromancer](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/neuromancer/32/96_2.png) [@neuromancer](https://www.finalbuilder.com/forums/u/neuromancer)
#### Post date: [January 11, 2019, 11:49pm UTC](https://www.finalbuilder.com/forums/t/support-t-restore-in-msbuild-action/6396/1 "2019-01-11T23:49:54Z")

</div>

msbuild has the ability to run an internal version of nuget restore via a t:Restore command line argument. For example: _msbuild t:Restore xxx.sln_. More information can be found [here](https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#restore-target)

I have a number of solutions that restore their nuget content successfully with this msbuild feature, but not when using the nuget restore action, even after referencing a number of different version of nuget.exe.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [January 13, 2019, 10:34pm UTC](https://www.finalbuilder.com/forums/t/support-t-restore-in-msbuild-action/6396/2 "2019-01-13T22:34:36Z")

</div>

> [@neuromancer](#):
>
> _sbuild t:Restore xxx.sln_ . M

You can already do this in the MSBuild action. Restore is a target, and you can specify multiple targets

> e.g: Restore;Build
