diff --git a/dependencies.props b/dependencies.props
index 345d39bc6127..dbbac0450c37 100644
--- a/dependencies.props
+++ b/dependencies.props
@@ -36,6 +36,12 @@
1.2.0
+
+
+ Microsoft.DotNet.Build.Tasks.Feed
+ 1.0.0-prerelease-02121-01
+
+
build-info/dotnet/
@@ -85,6 +91,11 @@
$(MSBuildThisFileDirectory)BuildToolsVersion.txt
Microsoft.DotNet.BuildTools
+
+ $(MSBuildThisFileFullPath)
+ FeedTasksPackageVersion
+ $(FeedTasksPackage)
+
$(MSBuildThisFileFullPath)
PgoDataPackageVersion
diff --git a/init-tools.cmd b/init-tools.cmd
index 235f64532ede..39209820b63a 100644
--- a/init-tools.cmd
+++ b/init-tools.cmd
@@ -54,8 +54,8 @@ if NOT exist "%DOTNET_LOCAL_PATH%" (
if exist "%BUILD_TOOLS_PATH%" goto :afterbuildtoolsrestore
echo Restoring BuildTools version %BUILDTOOLS_VERSION%...
-echo Running: "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% /p:ToolsDir=%TOOLRUNTIME_DIR% >> "%INIT_TOOLS_LOG%"
-call "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% /p:ToolsDir=%TOOLRUNTIME_DIR% >> "%INIT_TOOLS_LOG%"
+echo Running: "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% >> "%INIT_TOOLS_LOG%"
+call "%DOTNET_CMD%" restore "%INIT_TOOLS_RESTORE_PROJECT%" --no-cache --packages %PACKAGES_DIR% --source "%BUILDTOOLS_SOURCE%" /p:BuildToolsPackageVersion=%BUILDTOOLS_VERSION% >> "%INIT_TOOLS_LOG%"
if NOT exist "%BUILD_TOOLS_PATH%init-tools.cmd" (
echo ERROR: Could not restore build tools correctly. 1>&2
goto :error
diff --git a/init-tools.msbuild b/init-tools.msbuild
index c8eaf702c7a6..3bc1f3c8b759 100644
--- a/init-tools.msbuild
+++ b/init-tools.msbuild
@@ -4,10 +4,9 @@
false
true
$(ToolsDir)/$(BuildToolsPackageVersion)
- 1.0.0-prerelease-02111-01
- microsoft.dotnet.build.tasks.feed
$(PackageTargetFallback);netframework
+
$(BuildToolsPackageVersion)
@@ -16,17 +15,7 @@
1.0.4-prerelease
- $(FeedTasksVersion)
+ $(FeedTasksPackageVersion)
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/init-tools.sh b/init-tools.sh
index 00b096199e82..f712514262da 100755
--- a/init-tools.sh
+++ b/init-tools.sh
@@ -119,8 +119,8 @@ if [ ! -e $__INIT_TOOLS_DONE_MARKER ]; then
else
if [ ! -e $__BUILD_TOOLS_PATH ]; then
echo "Restoring BuildTools version $__BUILD_TOOLS_PACKAGE_VERSION..."
- echo "Running: $__DOTNET_CMD restore \"$__INIT_TOOLS_RESTORE_PROJECT\" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE /p:BuildToolsPackageVersion=$__BUILD_TOOLS_PACKAGE_VERSION /p:ToolsDir=$__TOOLRUNTIME_DIR" >> $__init_tools_log
- $__DOTNET_CMD restore "$__INIT_TOOLS_RESTORE_PROJECT" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE /p:BuildToolsPackageVersion=$__BUILD_TOOLS_PACKAGE_VERSION /p:ToolsDir=$__TOOLRUNTIME_DIR >> $__init_tools_log
+ echo "Running: $__DOTNET_CMD restore \"$__INIT_TOOLS_RESTORE_PROJECT\" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE /p:BuildToolsPackageVersion=$__BUILD_TOOLS_PACKAGE_VERSION" >> $__init_tools_log
+ $__DOTNET_CMD restore "$__INIT_TOOLS_RESTORE_PROJECT" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE /p:BuildToolsPackageVersion=$__BUILD_TOOLS_PACKAGE_VERSION >> $__init_tools_log
if [ ! -e "$__BUILD_TOOLS_PATH/init-tools.sh" ]; then
echo "ERROR: Could not restore build tools correctly." 1>&2
display_error_message
diff --git a/src/publish.proj b/src/publish.proj
index 9def32ab0c50..81ac12df7cab 100644
--- a/src/publish.proj
+++ b/src/publish.proj
@@ -2,12 +2,7 @@
-
- $(ToolsDir)Microsoft.Dotnet.Build.Tasks.Feed/net46/
- $(ToolsDir)microsoft.dotnet.build.tasks.feed/netstandard1.5/
-
-
-
+
$(PackagesBinDir)pkg\*.nupkg