-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support msbuild /t:restore;build gesture #4329
Comments
From @davidfowl on December 21, 2016 3:19 We've been discussing what it would take to treat restore like a build dependency so that it's fully incremental and does everything at the required times. That would eliminate the need for running more than a single command. |
This requires a change to MSBuild as @davidfowl mentioned. An example of the issue today:
It is unclear what work NuGet would actually need to do here, if any. |
"msbuild /restore" work for this scenario |
Huh? This is not closed... the goal was that |
@onovotny I think you may have better luck filing this on msbuild with that explanation. |
I didn't file it here :) Can one of you move this to the right repo then using that tool you have? |
From @onovotny on December 21, 2016 2:12
Splitting from dotnet/sdk#531
Today you have to explicitly do two commands for a proper build:
msbuild /t:restore
msbuild /t:build
It would be easier and more intuitive if the SDK could combine those to enable:
msbuild /t:restore;build
,msbuild /t:restore;pack
or even simply implicitly call restore (unless opted out with a variable?).It's true that the build may have to re-evaluate itself after the restore since additional props/targets may be imported, but somehow this should be made to work.
Copied from original issue: dotnet/sdk#541
The text was updated successfully, but these errors were encountered: