dotnet / dotnet/msbuild

MSBuild-task equivalent of "msbuild.exe /restore /t:Target"

Open
#2,811 18 comments 22 reactions 0 assignees View on GitHub
Feature Request triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 6h
Merged PRs (30d)
139

Description

https://github.com/Microsoft/msbuild/pull/2414 added support for `msbuild /restore /t:Target` which executes `/t:Restore` in a new build context before invoking `/t:Target`.

Is it possible to perform the same behavior from the MSBuild task?

For example, i'd love to be able to do this
```xml



```

cc @jeffkl

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.