diff --git a/build-tools/create-packs/Directory.Build.targets b/build-tools/create-packs/Directory.Build.targets
index a7a0ab1c742..b82bd4a5f99 100644
--- a/build-tools/create-packs/Directory.Build.targets
+++ b/build-tools/create-packs/Directory.Build.targets
@@ -101,25 +101,16 @@
<_TempDirectory>$(DotNetPreviewPath)..\.xa-workload-temp-$([System.IO.Path]::GetRandomFileName())
- <_NuGetConfig>$(_TempDirectory)\NuGet.config
- <_NuGetContent>
-
-
-
-
-
-
-
-
-]]>
-
-
-
+
+ <_InstallArguments Include="--skip-manifest-update" />
+ <_InstallArguments Include="--verbosity diag" />
+ <_InstallArguments Include="--source "$(OutputPath.TrimEnd('\'))"" />
+ <_InstallArguments Include="--source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
+ <_InstallArguments Include="--temp-dir "$(_TempDirectory)"" />
+
+
+