diff --git a/build/Microsoft.DotNet.Cli.Prepare.targets b/build/Microsoft.DotNet.Cli.Prepare.targets
index ef5d28e82..13ffbe217 100644
--- a/build/Microsoft.DotNet.Cli.Prepare.targets
+++ b/build/Microsoft.DotNet.Cli.Prepare.targets
@@ -159,23 +159,40 @@
DestinationDirectory="%(_DownloadAndExtractItem.ExtractDestintation)" />
+
+
+
+
+
+
+
+ DependsOnTargets="SetupRestorePackagesInputsOutputs;Init"
+ Inputs="@(RestorePackagesInput)"
+ Outputs="@(RestorePackagesInput->'%(RelativeDir)/project.lock.json')">
-
+
<_DotNetNewFolder>$(RepoRoot)/src/dotnet/commands/dotnet-new
-
+
+
+
+
+
+