diff --git a/build/BundledVersions.targets b/build/MSBuildExtensions.targets
similarity index 74%
rename from build/BundledVersions.targets
rename to build/MSBuildExtensions.targets
index 065eefe96..edacdf01d 100644
--- a/build/BundledVersions.targets
+++ b/build/MSBuildExtensions.targets
@@ -1,12 +1,17 @@
-
- $(IntermediateDirectory)/GeneratedMSBuildImports
- 15.0/Imports/Microsoft.Common.props/ImportBefore
- Microsoft.NETCoreSdk.BundledVersions.props
-
+
-
+
+
+
+
+
+
+
+ 15.0/Imports/Microsoft.Common.props/ImportBefore
+ Microsoft.NETCoreSdk.BundledVersions.props
+
-
-
-
diff --git a/build/OutputDirectories.props b/build/OutputDirectories.props
index 467b64964..3732acaaf 100644
--- a/build/OutputDirectories.props
+++ b/build/OutputDirectories.props
@@ -11,5 +11,6 @@
$(IntermediateDirectory)/sharedFrameworkPublish
$(RepoRoot)/artifacts/testpackages/
$(OutputDirectory)/dotnet$(ExeExtension)
+ $(IntermediateDirectory)/GeneratedMSBuildExtensions
diff --git a/build/package/Installer.MSI.targets b/build/package/Installer.MSI.targets
index cc529d24b..ab2d0b8b3 100644
--- a/build/package/Installer.MSI.targets
+++ b/build/package/Installer.MSI.targets
@@ -19,6 +19,9 @@
$(RepoRoot)/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.$(Architecture).nuspec
$(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.$(Architecture).$(FullNugetVersion).nupkg
+
+ $(RepoRoot)/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.nuspec
+ $(InstallerOutputDirectory)/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.$(FullNugetVersion).nupkg
@@ -143,6 +146,21 @@
'$(SdkInstallerNupkgFile)'" />
+
+
+
+
+
diff --git a/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.nuspec b/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.nuspec
new file mode 100644
index 000000000..31f49a45a
--- /dev/null
+++ b/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.MSBuildExtensions.nuspec
@@ -0,0 +1,18 @@
+
+
+
+ VS.Redist.Common.Net.Core.SDK.MSBuildExtensions
+ 1.0.0
+ VS.Redist.Common.Net.Core.SDK.MSBuildExtensions
+ Microsoft
+ Microsoft
+ https://www.microsoft.com/net/dotnet_library_license.htm
+ https://github.com/dotnet/cli
+ true
+ MSBuild extensions bundled with .NET Core SDK insertions to VS
+ © Microsoft Corporation. All rights reserved.
+
+
+
+
+
\ No newline at end of file
diff --git a/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.x64.nuspec b/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.x64.nuspec
index 2e0701a6d..1e5f870e8 100644
--- a/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.x64.nuspec
+++ b/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.x64.nuspec
@@ -13,6 +13,6 @@
© Microsoft Corporation. All rights reserved.
-
+
\ No newline at end of file
diff --git a/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.x86.nuspec b/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.x86.nuspec
index aa7055af7..c9b9f73cd 100644
--- a/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.x86.nuspec
+++ b/packaging/windows/clisdk/VS.Redist.Common.Net.Core.SDK.x86.nuspec
@@ -13,6 +13,6 @@
© Microsoft Corporation. All rights reserved.
-
+
\ No newline at end of file
diff --git a/packaging/windows/clisdk/generatenupkg.ps1 b/packaging/windows/clisdk/generatenupkg.ps1
index cca52bd7f..9297775a8 100644
--- a/packaging/windows/clisdk/generatenupkg.ps1
+++ b/packaging/windows/clisdk/generatenupkg.ps1
@@ -15,7 +15,7 @@ param(
$RepoRoot = Convert-Path "$PSScriptRoot\..\..\.."
$NuGetDir = Join-Path $RepoRoot ".nuget"
$NuGetExe = Join-Path $NuGetDir "nuget.exe"
-$OutputDirectory = [System.IO.Path]::GetDirectoryName($SdkBundlePath)
+$OutputDirectory = [System.IO.Path]::GetDirectoryName($NupkgFile)
function DownloadNugetExe
{
@@ -37,10 +37,10 @@ function GenerateNupkg
Write-Host 'Error nuspec not found - $NuspecFile'
}
- $SdkBundleName = [System.IO.Path]::GetFileName($SdkBundlePath)
+ $SdkBundlePath = [System.IO.Path]::GetFullPath($SdkBundlePath)
$NuspecFileName = [System.IO.Path]::GetFileName($NuspecFile)
$TempNuspecFile = [System.IO.Path]::Combine($OutputDirectory, $NuspecFileName)
- (Get-Content $NuspecFile) -replace '\[DOTNET_BUNDLE\]', $SdkBundleName | Set-Content $TempNuspecFile
+ (Get-Content $NuspecFile) -replace '\[DOTNET_BUNDLE\]', $SdkBundlePath | Set-Content $TempNuspecFile
& $NuGetExe pack $TempNuspecFile -Version $NugetVersion -OutputDirectory $OutputDirectory
}
diff --git a/src/redist/redist.csproj b/src/redist/redist.csproj
index 5bf539615..21668b585 100644
--- a/src/redist/redist.csproj
+++ b/src/redist/redist.csproj
@@ -2,7 +2,7 @@
-
+
$(CliVersionPrefix)
@@ -79,6 +79,7 @@