diff --git a/.gitignore b/.gitignore
index 7bed92752..19e5af704 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,9 @@ Library/
# local nuget cache
.nuget/
+# NuGet.Config at the root
+/NuGet.Config
+
# NuGet v3 restore drops these even though we don't use MSBuild :(
*.nuget.targets
*.nuget.props
diff --git a/NuGet.Config b/NuGet.Config
deleted file mode 100644
index 09a1c2c1e..000000000
--- a/NuGet.Config
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/TestAssets/DesktopTestProjects/MultiTFMXunitProject/XUnitProject/XUnitProject.csproj b/TestAssets/DesktopTestProjects/MultiTFMXunitProject/XUnitProject/XUnitProject.csproj
index 2ae7ce025..7c813de92 100644
--- a/TestAssets/DesktopTestProjects/MultiTFMXunitProject/XUnitProject/XUnitProject.csproj
+++ b/TestAssets/DesktopTestProjects/MultiTFMXunitProject/XUnitProject/XUnitProject.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.csproj
index 0bdb79506..9932034ad 100644
--- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.csproj
+++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/EmptyItemGroup/EmptyItemGroup.csproj
@@ -7,7 +7,7 @@
-
+
diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.csproj
index 1be153a79..46c045fe4 100644
--- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.csproj
+++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Lib/Lib.csproj
@@ -7,6 +7,6 @@
-
+
diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj
index 68b8ed617..f648c3487 100644
--- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj
+++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/a.csproj
@@ -7,6 +7,6 @@
-
+
diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj
index 68b8ed617..f648c3487 100644
--- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj
+++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/MoreThanOne/b.csproj
@@ -7,6 +7,6 @@
-
+
diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.csproj
index e11e31084..d52699c56 100644
--- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.csproj
+++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/Net452AndNetCoreApp10Lib/Net452AndNetCoreApp10Lib.csproj
@@ -6,6 +6,6 @@
net452;netcoreapp2.0
-
+
diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.csproj
index 0fc35d3d8..e6cf81456 100644
--- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.csproj
+++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/ValidRef/ValidRef.csproj
@@ -6,6 +6,6 @@
net451;netcoreapp1.0;netstandard1.4
-
+
diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj
index f33aa7821..f0e2e3daa 100644
--- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj
+++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithDoubledRef/WithDoubledRef.csproj
@@ -6,7 +6,7 @@
net451;netcoreapp1.0
-
+
diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj
index 8747ed6b7..3df93bb2f 100644
--- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj
+++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondOnItem/WithExistingRefCondOnItem.csproj
@@ -6,7 +6,7 @@
net451;netcoreapp1.0
-
+
diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.csproj
index 0b2792110..e4daa90a6 100644
--- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.csproj
+++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithExistingRefCondWhitespaces/WithExistingRefCondWhitespaces.csproj
@@ -6,7 +6,7 @@
net451;netcoreapp1.0
-
+
diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.csproj
index decd23bec..fa3e79ef9 100644
--- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.csproj
+++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefCondNonUniform/WithRefCondNonUniform.csproj
@@ -6,7 +6,7 @@
net451;netcoreapp1.0
-
+
diff --git a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj
index 328fc5fb1..6a07adae0 100644
--- a/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj
+++ b/TestAssets/NonRestoredTestProjects/DotnetAddP2PProjects/WithRefNoCondNonUniform/WithRefNoCondNonUniform.csproj
@@ -6,7 +6,7 @@
net451;netcoreapp1.0
-
+
diff --git a/TestAssets/TestPackages/dotnet-dependency-context-test/dotnet-dependency-context-test.csproj b/TestAssets/TestPackages/dotnet-dependency-context-test/dotnet-dependency-context-test.csproj
index 97e20d00d..82c3d38ea 100644
--- a/TestAssets/TestPackages/dotnet-dependency-context-test/dotnet-dependency-context-test.csproj
+++ b/TestAssets/TestPackages/dotnet-dependency-context-test/dotnet-dependency-context-test.csproj
@@ -8,7 +8,7 @@
-
+
diff --git a/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj b/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj
index a6c5b91c1..474b54070 100644
--- a/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj
+++ b/TestAssets/TestPackages/dotnet-dependency-tool-invoker/dotnet-dependency-tool-invoker.csproj
@@ -17,9 +17,9 @@
-
+
-
+
diff --git a/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj b/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj
index 33cb2b5a7..965ca32df 100644
--- a/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj
+++ b/TestAssets/TestProjects/AppWithMultipleFxAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj
index 766c1ae66..0efe63453 100644
--- a/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj
+++ b/TestAssets/TestProjects/MSBuildAppWithMultipleFrameworksAndTools/MSBuildAppWithMultipleFrameworksAndTools.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/TestAssets/TestProjects/MSBuildIntegration/build.props b/TestAssets/TestProjects/MSBuildIntegration/build.props
index 3d640d339..edc4720d9 100644
--- a/TestAssets/TestProjects/MSBuildIntegration/build.props
+++ b/TestAssets/TestProjects/MSBuildIntegration/build.props
@@ -2,6 +2,6 @@
-
+
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithEmptySln/App/App.csproj b/TestAssets/TestProjects/TestAppWithEmptySln/App/App.csproj
index ce5bf06cb..a314f6f81 100644
--- a/TestAssets/TestProjects/TestAppWithEmptySln/App/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithEmptySln/App/App.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/TestAssets/TestProjects/TestAppWithMultipleSlnFiles/App/App.csproj b/TestAssets/TestProjects/TestAppWithMultipleSlnFiles/App/App.csproj
index 7a2163613..c8ab8e530 100644
--- a/TestAssets/TestProjects/TestAppWithMultipleSlnFiles/App/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithMultipleSlnFiles/App/App.csproj
@@ -7,7 +7,7 @@
-
+
diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/App/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/App/App.csproj
index 3a31eb5bf..64870d559 100644
--- a/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/App/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithSlnAndCaseSensitiveSolutionFolders/src/App/App.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/App/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/App/App.csproj
index ce5bf06cb..a314f6f81 100644
--- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/App/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojFiles/App/App.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/App.csproj
index 92f102c88..a3f261628 100644
--- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDir/App.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/App.csproj
index abea1bc3d..0fd2b18ad 100644
--- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojInSubDirToRemove/App.csproj
@@ -7,6 +7,6 @@
-
+
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/App/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/App/App.csproj
index ce5bf06cb..a314f6f81 100644
--- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/App/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojProjectGuidFiles/App/App.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/App/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/App/App.csproj
index 7a2163613..c8ab8e530 100644
--- a/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/App/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithSlnAndCsprojToRemove/App/App.csproj
@@ -7,7 +7,7 @@
-
+
diff --git a/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/App/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/App/App.csproj
index ce5bf06cb..a314f6f81 100644
--- a/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/App/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithSlnAndDuplicateProjectReferences/App/App.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/App/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/App/App.csproj
index 21cce6681..6b530243e 100644
--- a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/App/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferences/App/App.csproj
@@ -15,7 +15,7 @@
-
+
diff --git a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/App/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/App/App.csproj
index 21cce6681..6b530243e 100644
--- a/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/App/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithSlnAndExistingCsprojReferencesWithEscapedDirSep/App/App.csproj
@@ -15,7 +15,7 @@
-
+
diff --git a/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/App.csproj
index abea1bc3d..0fd2b18ad 100644
--- a/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithSlnAndLastCsprojInSubDirToRemove/App.csproj
@@ -7,6 +7,6 @@
-
+
\ No newline at end of file
diff --git a/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/App/App.csproj b/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/App/App.csproj
index 3a31eb5bf..64870d559 100644
--- a/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/App/App.csproj
+++ b/TestAssets/TestProjects/TestAppWithSlnAndSolutionFolders/src/App/App.csproj
@@ -11,7 +11,7 @@
-
+
diff --git a/TestAssets/TestProjects/VSTestCore/VSTestCore.csproj b/TestAssets/TestProjects/VSTestCore/VSTestCore.csproj
index 0d07738af..c69bc4462 100644
--- a/TestAssets/TestProjects/VSTestCore/VSTestCore.csproj
+++ b/TestAssets/TestProjects/VSTestCore/VSTestCore.csproj
@@ -9,6 +9,6 @@
-
+
\ No newline at end of file
diff --git a/TestAssets/TestProjects/VSTestMulti/VSTestDesktopAndNetCore.csproj b/TestAssets/TestProjects/VSTestMulti/VSTestDesktopAndNetCore.csproj
index 1a8fb8e53..80517174a 100644
--- a/TestAssets/TestProjects/VSTestMulti/VSTestDesktopAndNetCore.csproj
+++ b/TestAssets/TestProjects/VSTestMulti/VSTestDesktopAndNetCore.csproj
@@ -12,6 +12,6 @@
-
+
\ No newline at end of file
diff --git a/TestAssets/TestProjects/XunitCore/XunitCore.csproj b/TestAssets/TestProjects/XunitCore/XunitCore.csproj
index d6016beea..277e9d3d7 100644
--- a/TestAssets/TestProjects/XunitCore/XunitCore.csproj
+++ b/TestAssets/TestProjects/XunitCore/XunitCore.csproj
@@ -7,7 +7,7 @@
-
+
diff --git a/TestAssets/TestProjects/XunitMulti/VSTestXunitDesktopAndNetCore.csproj b/TestAssets/TestProjects/XunitMulti/VSTestXunitDesktopAndNetCore.csproj
index 3c971a5e9..c74d87941 100644
--- a/TestAssets/TestProjects/XunitMulti/VSTestXunitDesktopAndNetCore.csproj
+++ b/TestAssets/TestProjects/XunitMulti/VSTestXunitDesktopAndNetCore.csproj
@@ -12,11 +12,11 @@
-
+
-
+
diff --git a/build.proj b/build.proj
index bac606d59..060afe7d3 100644
--- a/build.proj
+++ b/build.proj
@@ -29,10 +29,11 @@
-
+
+ Outputs="@(RestoreDotnetCliBuildFrameworkOutputs)"
+ DependsOnTargets="WriteNugetConfigFile">
$(ExtraRestoreArgs) /p:GeneratePropsFile=$(GeneratePropsFile)
@@ -45,9 +46,11 @@
+
+
diff --git a/build/AzureInfo.props b/build/AzureInfo.props
index 2773a817c..490ea909e 100644
--- a/build/AzureInfo.props
+++ b/build/AzureInfo.props
@@ -1,6 +1,10 @@
Sdk
+ $(PB_AssetRootUrl)
+ https://dotnetcli.azureedge.net/dotnet/
+ $(PB_AssetRootAccessTokenSuffix)
+ ?$(CoreSetupBlobAccessToken)
$(ARTIFACT_STORAGE_CONTAINER)
dotnet
$(ARTIFACT_STORAGE_KEY)
@@ -12,10 +16,10 @@
$(CHECKSUM_STORAGE_KEY)
$(CHECKSUM_STORAGE_ACCOUNT)
dotnetclichecksums
- $(TRANSPORTFEED_STORAGE_CONTAINER)
- dotnet-core
- $(TRANSPORTFEED_EXPECTED_URL)
- https://dotnetfeed.blob.core.windows.net/$(TransportFeedContainerName)/index.json
- $(TRANSPORTFEED_STORAGE_KEY)
+ $(BLOBFEED_STORAGE_CONTAINER)
+ dotnet-core
+ $(BLOBFEED_EXPECTED_URL)
+ https://dotnetfeed.blob.core.windows.net/$(BlobFeedContainerName)/index.json
+ $(BLOBFEED_STORAGE_KEY)
diff --git a/build/BackwardsCompatibilityRuntimes.props b/build/BackwardsCompatibilityRuntimes.props
index 9664fdadf..85303240f 100644
--- a/build/BackwardsCompatibilityRuntimes.props
+++ b/build/BackwardsCompatibilityRuntimes.props
@@ -21,7 +21,6 @@
$(BackwardsCompatibility110CoreSetupBlobRootUrlWithChannel)/Installers
$(IntermediateDirectory)/coreSetupDownload/$(BackwardsCompatibility110SharedFrameworkVersion)
$(BackwardsCompatibility110CoreSetupDownloadDirectory)/combinedSharedHostAndFrameworkArchive$(ArchiveExtension)
- ?$(CoreSetupBlobAccessToken)
diff --git a/build/BundledRuntimes.props b/build/BundledRuntimes.props
index cbc7a67a0..82f47ecca 100644
--- a/build/BundledRuntimes.props
+++ b/build/BundledRuntimes.props
@@ -27,8 +27,6 @@
- https://dotnetcli.azureedge.net/dotnet/
- ?$(CoreSetupBlobAccessToken)
$(CoreSetupBlobRootUrl)Runtime/
$(IntermediateDirectory)/coreSetupDownload/$(SharedFrameworkVersion)
$(CoreSetupDownloadDirectory)/combinedSharedHostAndFrameworkArchive$(ArchiveExtension)
diff --git a/build/BundledSdks.props b/build/BundledSdks.props
index b259c4a2a..d5b90bba9 100644
--- a/build/BundledSdks.props
+++ b/build/BundledSdks.props
@@ -1,10 +1,10 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/build/BundledTemplates.props b/build/BundledTemplates.props
index a7a7069ab..23d0a8573 100644
--- a/build/BundledTemplates.props
+++ b/build/BundledTemplates.props
@@ -1,8 +1,8 @@
-
-
-
+
+
+
diff --git a/build/CrossGen.props b/build/CrossGen.props
index 8d5dd78ec..a07ed8ba5 100644
--- a/build/CrossGen.props
+++ b/build/CrossGen.props
@@ -1,8 +1,8 @@
runtime.$(SharedFrameworkRid).microsoft.netcore.app
- $(NuGetPackagesDir)/$(RuntimeNETCoreAppPackageName)/$(CLI_SharedFrameworkVersion)/tools/crossgen$(ExeExtension)
- $(NuGetPackagesDir)/$(RuntimeNETCoreAppPackageName)/$(CLI_SharedFrameworkVersion)/runtimes/$(SharedFrameworkRid)/native/$(DynamicLibPrefix)clrjit$(DynamicLibExtension)
+ $(NuGetPackagesDir)/$(RuntimeNETCoreAppPackageName)/$(MicrosoftNETCoreAppPackageVersion)/tools/crossgen$(ExeExtension)
+ $(NuGetPackagesDir)/$(RuntimeNETCoreAppPackageName)/$(MicrosoftNETCoreAppPackageVersion)/runtimes/$(SharedFrameworkRid)/native/$(DynamicLibPrefix)clrjit$(DynamicLibExtension)
$(OutputDirectory)/shared/$(SharedFrameworkName)/$(SharedFrameworkVersion)
diff --git a/build/DependencyVersions.props b/build/DependencyVersions.props
index 86fe2881e..8bcb32d12 100644
--- a/build/DependencyVersions.props
+++ b/build/DependencyVersions.props
@@ -1,39 +1,64 @@
- 2.0.4
- 15.5.180
- 15.5.180.1
- 2.6.0-beta3-62309-01
- 1.6.0-beta2-25304
- 4.2.0-rtm-171104-0
- pre-20171122-1
- 2.6.0-$(CLI_Deps_Satellites_Build)
- 4.4.1-$(CLI_Deps_Satellites_Build)
+ 2.0.4
+ $(MicrosoftNETCoreAppPackageVersion)
+ 15.5.180
+ $(MicrosoftBuildPackageVersion)
+ 15.5.180.1
+ $(MicrosoftBuildPackageVersion)
+ $(MicrosoftBuildPackageVersion)
+ 4.2.0-rtm-171104-0
+ 2.6.0-beta3-62309-01
+ $(MicrosoftCodeAnalysisCSharpPackageVersion)
+ $(MicrosoftCodeAnalysisCSharpPackageVersion)
+ 15.5.0-preview-62507-01
+ $(MicrosoftNETSdkPackageVersion)
+ 2.0.0-rel-20171110-671
+ $(MicrosoftNETSdkWebPackageVersion)
+ $(MicrosoftNETSdkWebPackageVersion)
+ 1.0.0-beta3-20171110-312
+ $(MicrosoftDotNetCommonItemTemplatesPackageVersion)
+ $(MicrosoftDotNetCommonItemTemplatesPackageVersion)
+ 1.0.0-beta3-20171117-314
+ $(MicrosoftTemplateEngineAbstractionsPackageVersion)
+ $(MicrosoftTemplateEngineAbstractionsPackageVersion)
+ $(MicrosoftTemplateEngineAbstractionsPackageVersion)
+ $(MicrosoftTemplateEngineAbstractionsPackageVersion)
+ 2.0.0
+ 2.0.0
+ 0.1.1-alpha-167
+ 1.2.1-alpha-002133
+ $(MicrosoftDotNetProjectJsonMigrationPackageVersion)
+ 1.6.0-beta2-25304
+ 4.5.0-rtm-4651
+ $(NuGetBuildTasksPackageVersion)
+ $(NuGetBuildTasksPackageVersion)
+ $(NuGetBuildTasksPackageVersion)
+ $(NuGetBuildTasksPackageVersion)
+ $(NuGetBuildTasksPackageVersion)
+ $(NuGetBuildTasksPackageVersion)
+ $(NuGetBuildTasksPackageVersion)
+ $(NuGetBuildTasksPackageVersion)
+ 15.5.0
+ $(MicrosoftNETTestSdkPackageVersion)
+ $(MicrosoftNETTestSdkPackageVersion)
+ 0.2.0-beta-000042
+ 0.2.0
+ 2.6.0-pre-20171122-1
+ 4.4.1-pre-20171122-1
+
-
- 15.5.0-preview-20171116-1
- $(CLI_NETSDK_Version)
+
+
- 4.5.0-rtm-4651
+
+
2.0.1-servicing-26011-01
- 2.0.0-rel-20171110-671
- 15.5.0
- $(CLI_SharedFrameworkVersion)
- $(CLI_SharedFrameworkVersion)
- $(CLI_SharedFrameworkVersion)
- 1.0.0-beta3-20171117-314
- 1.0.0-beta3-20171110-312
- 1.0.0-beta3-20171110-312
- 1.0.0-beta2-20170810-304
- 2.0.0
- 2.0.0
- 0.1.1-alpha-167
- 1.2.1-alpha-002133
- 0.2.0
- 0.2.0-beta-000042
+
+ $(MicrosoftNETCoreAppPackageVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
2.0.3
@@ -55,4 +80,5 @@
2.0.0-preview2-25331-01
2.1.0-prerelease-02221-02
+
diff --git a/build/DownloadPackageVersions.targets b/build/DownloadPackageVersions.targets
new file mode 100644
index 000000000..dc821037b
--- /dev/null
+++ b/build/DownloadPackageVersions.targets
@@ -0,0 +1,9 @@
+
+
+
+
+
+
diff --git a/build/InitRepo.props b/build/InitRepo.props
index 3a17534a9..c83437f02 100644
--- a/build/InitRepo.props
+++ b/build/InitRepo.props
@@ -4,5 +4,8 @@
$(GeneratedPropsDir)/GitCommitInfo.props
$(GeneratedPropsDir)/HostInfo.props
$(GeneratedPropsDir)/BuildInfo.props
-
+ $(GeneratedPropsDir)/OrchestratedPackageVersionsProps.props
+ $(RepoRoot)/NuGet.Config
+
+
diff --git a/build/InitRepo.targets b/build/InitRepo.targets
index be227551e..9db639072 100644
--- a/build/InitRepo.targets
+++ b/build/InitRepo.targets
@@ -1,10 +1,12 @@
+ WriteBuildInfoProps;
+ DownloadPackageVersionsProps"/>
Microsoft.NET.Build.Extensions
15.0
- $(NuGetPackagesDir)/$(MSBuildExtensionsPackageName.ToLower())/$(CLI_MSBuildExtensions_Version.ToLower())
+ $(NuGetPackagesDir)/$(MSBuildExtensionsPackageName.ToLower())/$(MicrosoftNETBuildExtensionsPackageVersion.ToLower())
NETStandard.Library.NETFramework
$(NuGetPackagesDir)/$(NETStandardLibraryNETFrameworkPackageName.ToLower())/$(CLI_NETStandardLibraryNETFrameworkVersion.ToLower())
@@ -66,7 +66,7 @@
-
+
@@ -105,7 +105,7 @@
Text="Failed to determine the NETStandard.Library version pulled in Microsoft.NETCore.App" />
- <_NETCoreAppPackageVersion>$(CLI_SharedFrameworkVersion)
+ <_NETCoreAppPackageVersion>$(MicrosoftNETCoreAppPackageVersion)
<_NETStandardPackageVersion>@(_NETStandardLibraryVersions->Distinct())
diff --git a/build/MicroBuild.props b/build/MicroBuild.props
index 1cf77f45b..efd41d7f8 100644
--- a/build/MicroBuild.props
+++ b/build/MicroBuild.props
@@ -6,6 +6,6 @@
$(NUGET_PACKAGES)
$(RepoRoot)/.nuget/packages
- $(NuGetPackagesDir)/microbuild.core/$(MicroBuildVersion)/build/
+ $(NuGetPackagesDir)/microbuild.core/$(MicroBuildCorePackageVersion)/build/
diff --git a/build/NugetConfigFile.targets b/build/NugetConfigFile.targets
new file mode 100644
index 000000000..06d67c109
--- /dev/null
+++ b/build/NugetConfigFile.targets
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ]]>
+
+
+
+
+
+ ]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/build/Publish.targets b/build/Publish.targets
index 9e911318c..918ae556e 100644
--- a/build/Publish.targets
+++ b/build/Publish.targets
@@ -3,7 +3,7 @@
-
+
@@ -25,7 +25,7 @@
GenerateChecksums;
UploadArtifactsToAzure;
UploadChecksumsToAzure;
- PublishNupkgToTransportFeed;
+ PublishNupkgToBlobFeed;
PublishDebFilesToDebianRepo;
PublishCliVersionBadge" />
diff --git a/build/Test.targets b/build/Test.targets
index 0b8bc0620..83591e179 100644
--- a/build/Test.targets
+++ b/build/Test.targets
@@ -46,7 +46,7 @@
-
+
-
- ?$(CoreSetupBlobAccessToken)
$(SdkOutputDirectory)/nuGetPackagesArchive.lzma
nuGetPackagesArchive.$(AspNetCoreRuntimePackageFlavor).lzma
$(IntermediateDirectory)/$(NugetPackagesArchiveName)
- $(AspNetCoreRuntimeInstallerBlobRootUrl)/$(NugetPackagesArchiveName)$(CoreSetupBlobAccessTokenParam)
+ $(AspNetCoreRuntimeInstallerBlobRootUrl)/$(NugetPackagesArchiveName)
-
diff --git a/build/package/Installer.MSI.targets b/build/package/Installer.MSI.targets
index 2a4e131b8..e1baf462d 100644
--- a/build/package/Installer.MSI.targets
+++ b/build/package/Installer.MSI.targets
@@ -2,7 +2,7 @@
- 3.10.2
+ 3.10.4
https://dotnetcli.azureedge.net/build/wix/wix.$(WixVersion).zip
$(IntermediateDirectory)/WixTools/$(WixVersion)
$(WixRoot)/WixTools.$(WixVersion).zip
diff --git a/build/package/dotnet-deb-tool-consumer.csproj b/build/package/dotnet-deb-tool-consumer.csproj
index a48d3d6f2..f36499527 100644
--- a/build/package/dotnet-deb-tool-consumer.csproj
+++ b/build/package/dotnet-deb-tool-consumer.csproj
@@ -3,7 +3,7 @@
netcoreapp2.0
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
diff --git a/build/publish/PublishNupkgToTransportFeed.targets b/build/publish/PublishNupkgToBlobFeed.targets
similarity index 52%
rename from build/publish/PublishNupkgToTransportFeed.targets
rename to build/publish/PublishNupkgToBlobFeed.targets
index 19dd03e71..eb8ba821a 100644
--- a/build/publish/PublishNupkgToTransportFeed.targets
+++ b/build/publish/PublishNupkgToBlobFeed.targets
@@ -7,13 +7,13 @@
-
-
-
+
+
+
-
-
+
diff --git a/build/publish/RuntimeCoherence.targets b/build/publish/RuntimeCoherence.targets
index 5ba7482bf..5da9ffd49 100644
--- a/build/publish/RuntimeCoherence.targets
+++ b/build/publish/RuntimeCoherence.targets
@@ -19,7 +19,7 @@
false
- true
+ true
diff --git a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj
index dd2f94e91..fcaae1196 100644
--- a/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj
+++ b/build_projects/Microsoft.DotNet.Cli.Build.Framework/Microsoft.DotNet.Cli.Build.Framework.csproj
@@ -13,7 +13,7 @@
-
+
diff --git a/build_projects/dotnet-cli-build/dotnet-cli-build.csproj b/build_projects/dotnet-cli-build/dotnet-cli-build.csproj
index 07a4de29d..30acb19fd 100644
--- a/build_projects/dotnet-cli-build/dotnet-cli-build.csproj
+++ b/build_projects/dotnet-cli-build/dotnet-cli-build.csproj
@@ -15,19 +15,20 @@
-
+
-
+
-
-
+
+
-
-
+
+
+
diff --git a/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj b/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj
index 14a4c4a33..34994fa7d 100644
--- a/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj
+++ b/build_projects/shared-build-targets-utils/shared-build-targets-utils.csproj
@@ -16,12 +16,12 @@
-
+
-
+
diff --git a/build_projects/update-dependencies/Program.cs b/build_projects/update-dependencies/Program.cs
index e256564d6..27926a77c 100644
--- a/build_projects/update-dependencies/Program.cs
+++ b/build_projects/update-dependencies/Program.cs
@@ -81,9 +81,9 @@ namespace Microsoft.DotNet.Scripts
private static IEnumerable GetUpdaters()
{
string dependencyVersionsPath = Path.Combine("build", "DependencyVersions.props");
- yield return CreateRegexUpdater(dependencyVersionsPath, "CLI_SharedFrameworkVersion", "Microsoft.NETCore.App");
- yield return CreateRegexUpdater(dependencyVersionsPath, "PlatformAbstractionsVersion", "Microsoft.DotNet.PlatformAbstractions");
- yield return CreateRegexUpdater(dependencyVersionsPath, "DependencyModelVersion", "Microsoft.Extensions.DependencyModel");
+ yield return CreateRegexUpdater(dependencyVersionsPath, "MicrosoftNETCoreAppPackageVersion", "Microsoft.NETCore.App");
+ yield return CreateRegexUpdater(dependencyVersionsPath, "MicrosoftDotNetPlatformAbstractionsPackageVersion", "Microsoft.DotNet.PlatformAbstractions");
+ yield return CreateRegexUpdater(dependencyVersionsPath, "MicrosoftExtensionsDependencyModelPackageVersion", "Microsoft.Extensions.DependencyModel");
}
private static IDependencyUpdater CreateRegexUpdater(string repoRelativePath, string propertyName, string packageId)
diff --git a/dir.props b/dir.props
index 756fccc32..a59eba29e 100644
--- a/dir.props
+++ b/dir.props
@@ -20,7 +20,7 @@
-
+
@@ -40,7 +40,6 @@
-
diff --git a/run-build.ps1 b/run-build.ps1
index 17a46a335..366267f3e 100644
--- a/run-build.ps1
+++ b/run-build.ps1
@@ -80,16 +80,16 @@ $env:VSTEST_TRACE_BUILD=1
# install a stage0
$dotnetInstallPath = Join-Path $RepoRoot "scripts\obtain\dotnet-install.ps1"
-Write-Output "$dotnetInstallPath -Channel ""release/2.0.0"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture"""
-Invoke-Expression "$dotnetInstallPath -Channel ""release/2.0.0"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture"""
+Write-Output "$dotnetInstallPath -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture"" -Channel ""release/2.0.0"""
+Invoke-Expression "$dotnetInstallPath -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture"" -Channel ""release/2.0.0"""
if ($LastExitCode -ne 0)
{
Write-Output "The .NET CLI installation failed with exit code $LastExitCode"
exit $LastExitCode
}
-Write-Output "$dotnetInstallPath -Channel ""master"" -InstallDir $env:DOTNET_INSTALL_DIR_PJ -Architecture ""$Architecture"" -Version 1.0.0-preview2-1-003177"
-Invoke-Expression "$dotnetInstallPath -Channel ""master"" -InstallDir $env:DOTNET_INSTALL_DIR_PJ -Architecture ""$Architecture"" -Version 1.0.0-preview2-1-003177"
+Write-Output "$dotnetInstallPath -InstallDir $env:DOTNET_INSTALL_DIR_PJ -Architecture ""$Architecture"" -Version 1.0.0-preview2-1-003177"
+Invoke-Expression "$dotnetInstallPath -InstallDir $env:DOTNET_INSTALL_DIR_PJ -Architecture ""$Architecture"" -Version 1.0.0-preview2-1-003177"
if ($LastExitCode -ne 0)
{
Write-Output "The .NET CLI installation failed with exit code $LastExitCode"
@@ -106,7 +106,7 @@ if ($NoBuild)
}
else
{
- dotnet msbuild build.proj /p:Architecture=$Architecture /p:GeneratePropsFile=true /t:WriteDynamicPropsToStaticPropsFiles
+ dotnet msbuild build.proj /p:Architecture=$Architecture /p:GeneratePropsFile=true /t:WriteDynamicPropsToStaticPropsFiles $ExtraParameters
dotnet msbuild build.proj /m /v:normal /fl /flp:v=diag /p:Architecture=$Architecture $ExtraParameters
if($LASTEXITCODE -ne 0) { throw "Failed to build" }
}
diff --git a/run-build.sh b/run-build.sh
index 95154cdf6..597268b25 100755
--- a/run-build.sh
+++ b/run-build.sh
@@ -188,7 +188,7 @@ export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
echo "${args[@]}"
if [ $BUILD -eq 1 ]; then
- dotnet msbuild build.proj /p:Architecture=$ARCHITECTURE $CUSTOM_BUILD_ARGS /p:GeneratePropsFile=true /t:WriteDynamicPropsToStaticPropsFiles
+ dotnet msbuild build.proj /p:Architecture=$ARCHITECTURE $CUSTOM_BUILD_ARGS /p:GeneratePropsFile=true /t:WriteDynamicPropsToStaticPropsFiles "${args[@]}"
dotnet msbuild build.proj /m /v:normal /fl /flp:v=diag /p:Architecture=$ARCHITECTURE $CUSTOM_BUILD_ARGS "${args[@]}"
else
echo "Not building due to --nobuild"
diff --git a/scripts/obtain/dotnet-install.ps1 b/scripts/obtain/dotnet-install.ps1
index 89e6e74d8..1b92f0c20 100644
--- a/scripts/obtain/dotnet-install.ps1
+++ b/scripts/obtain/dotnet-install.ps1
@@ -49,10 +49,13 @@
.PARAMETER AzureFeed
Default: https://dotnetcli.azureedge.net/dotnet
This parameter typically is not changed by the user.
- It allows to change URL for the Azure feed used by this installer.
+ It allows changing the URL for the Azure feed used by this installer.
.PARAMETER UncachedFeed
This parameter typically is not changed by the user.
- It allows to change URL for the Uncached feed used by this installer.
+ It allows changing the URL for the Uncached feed used by this installer.
+.PARAMETER FeedCredential
+ Used as a query string to append to the Azure feed.
+ It allows changing the URL to use non-public blob storage accounts.
.PARAMETER ProxyAddress
If set, the installer will use the proxy when making web requests
.PARAMETER ProxyUseDefaultCredentials
@@ -73,6 +76,7 @@ param(
[switch]$NoPath,
[string]$AzureFeed="https://dotnetcli.azureedge.net/dotnet",
[string]$UncachedFeed="https://dotnetcli.blob.core.windows.net/dotnet",
+ [string]$FeedCredential,
[string]$ProxyAddress,
[switch]$ProxyUseDefaultCredentials,
[switch]$SkipNonVersionedFiles
@@ -199,8 +203,9 @@ function GetHTTPResponse([Uri] $Uri)
# Default timeout for HttpClient is 100s. For a 50 MB download this assumes 500 KB/s average, any less will time out
# 10 minutes allows it to work over much slower connections.
$HttpClient.Timeout = New-TimeSpan -Minutes 10
- $Response = $HttpClient.GetAsync($Uri).Result
+ $Response = $HttpClient.GetAsync("${Uri}${FeedCredential}").Result
if (($Response -eq $null) -or (-not ($Response.IsSuccessStatusCode))) {
+ # The feed credential is potentially sensitive info. Do not log FeedCredential to console output.
$ErrorMsg = "Failed to download $Uri."
if ($Response -ne $null) {
$ErrorMsg += " $Response"
@@ -467,10 +472,15 @@ if ($DryRun) {
$InstallRoot = Resolve-Installation-Path $InstallDir
Say-Verbose "InstallRoot: $InstallRoot"
-$IsSdkInstalled = Is-Dotnet-Package-Installed -InstallRoot $InstallRoot -RelativePathToPackage "sdk" -SpecificVersion $SpecificVersion
-Say-Verbose ".NET SDK installed? $IsSdkInstalled"
-if ($IsSdkInstalled) {
- Say ".NET SDK version $SpecificVersion is already installed."
+$dotnetPackageRelativePath = if ($SharedRuntime) { "shared\Microsoft.NETCore.App" } else { "sdk" }
+
+$isAssetInstalled = Is-Dotnet-Package-Installed -InstallRoot $InstallRoot -RelativePathToPackage $dotnetPackageRelativePath -SpecificVersion $SpecificVersion
+if ($isAssetInstalled) {
+ if ($SharedRuntime) {
+ Say ".NET Core Runtime version $SpecificVersion is already installed."
+ } else {
+ Say ".NET Core SDK version $SpecificVersion is already installed."
+ }
Prepend-Sdk-InstallRoot-To-Path -InstallRoot $InstallRoot -BinFolderRelativePath $BinFolderRelativePath
exit 0
}
diff --git a/scripts/obtain/dotnet-install.sh b/scripts/obtain/dotnet-install.sh
index e409fe06d..e69e3a1fa 100755
--- a/scripts/obtain/dotnet-install.sh
+++ b/scripts/obtain/dotnet-install.sh
@@ -227,10 +227,10 @@ check_pre_reqs() {
local librarypath=${LD_LIBRARY_PATH:-}
LDCONFIG_COMMAND="$LDCONFIG_COMMAND -NXv ${librarypath//:/ }"
- [ -z "$($LDCONFIG_COMMAND | grep libunwind)" ] && say_err "Unable to locate libunwind. Install libunwind to continue" && failing=true
- [ -z "$($LDCONFIG_COMMAND | grep libssl)" ] && say_err "Unable to locate libssl. Install libssl to continue" && failing=true
- [ -z "$($LDCONFIG_COMMAND | grep libicu)" ] && say_err "Unable to locate libicu. Install libicu to continue" && failing=true
- [ -z "$($LDCONFIG_COMMAND | grep -F libcurl.so)" ] && say_err "Unable to locate libcurl. Install libcurl to continue" && failing=true
+ [ -z "$($LDCONFIG_COMMAND 2>/dev/null | grep libunwind)" ] && say_err "Unable to locate libunwind. Install libunwind to continue" && failing=true
+ [ -z "$($LDCONFIG_COMMAND 2>/dev/null | grep libssl)" ] && say_err "Unable to locate libssl. Install libssl to continue" && failing=true
+ [ -z "$($LDCONFIG_COMMAND 2>/dev/null | grep libicu)" ] && say_err "Unable to locate libicu. Install libicu to continue" && failing=true
+ [ -z "$($LDCONFIG_COMMAND 2>/dev/null | grep -F libcurl.so)" ] && say_err "Unable to locate libcurl. Install libcurl to continue" && failing=true
fi
if [ "$failing" = true ]; then
@@ -618,6 +618,9 @@ downloadcurl() {
local remote_path="$1"
local out_path="${2:-}"
+ # Append feed_credential as late as possible before calling curl to avoid logging feed_credential
+ remote_path="${remote_path}${feed_credential}"
+
local failed=false
if [ -z "$out_path" ]; then
curl --retry 10 -sSL -f --create-dirs "$remote_path" || failed=true
@@ -636,6 +639,9 @@ downloadwget() {
local remote_path="$1"
local out_path="${2:-}"
+ # Append feed_credential as late as possible before calling wget to avoid logging feed_credential
+ remote_path="${remote_path}${feed_credential}"
+
local failed=false
if [ -z "$out_path" ]; then
wget -q --tries 10 -O - "$remote_path" || failed=true
@@ -682,9 +688,16 @@ install_dotnet() {
eval $invocation
local download_failed=false
- if is_dotnet_package_installed "$install_root" "sdk" "$specific_version"; then
- say ".NET SDK version $specific_version is already installed."
- return 0
+ if [ "$shared_runtime" = true ]; then
+ if is_dotnet_package_installed "$install_root" "shared/Microsoft.NETCore.App" "$specific_version"; then
+ say ".NET Core Runtime version $specific_version is already installed."
+ return 0
+ fi
+ else
+ if is_dotnet_package_installed "$install_root" "sdk" "$specific_version"; then
+ say ".NET Core SDK version $specific_version is already installed."
+ return 0
+ fi
fi
mkdir -p "$install_root"
@@ -725,6 +738,7 @@ dry_run=false
no_path=false
azure_feed="https://dotnetcli.azureedge.net/dotnet"
uncached_feed="https://dotnetcli.blob.core.windows.net/dotnet"
+feed_credential=""
verbose=false
shared_runtime=false
runtime_id=""
@@ -770,12 +784,15 @@ do
shift
uncached_feed="$1"
;;
+ --feed-credential|-[Ff]eed[Cc]redential)
+ shift
+ feed_credential="$1"
+ ;;
--runtime-id|-[Rr]untime[Ii]d)
shift
runtime_id="$1"
;;
--skip-non-versioned-files|-[Ss]kip[Nn]on[Vv]ersioned[Ff]iles)
- shift
override_non_versioned_files=false
;;
-?|--?|-h|--help|-[Hh]elp)
@@ -804,22 +821,23 @@ do
echo " coherent applies only to SDK downloads"
echo " - 3-part version in a format A.B.C - represents specific version of build"
echo " examples: 2.0.0-preview2-006120; 1.1.0"
- echo " -i,--install-dir Install under specified location (see Install Location below)"
+ echo " -i,--install-dir Install under specified location (see Install Location below)"
echo " -InstallDir"
- echo " --architecture Architecture of .NET Tools. Currently only x64 is supported."
+ echo " --architecture Architecture of .NET Tools. Currently only x64 is supported."
echo " --arch,-Architecture,-Arch"
- echo " --shared-runtime Installs just the shared runtime bits, not the entire SDK."
+ echo " --shared-runtime Installs just the shared runtime bits, not the entire SDK."
echo " -SharedRuntime"
- echo " --skip-non-versioned-files Skips non-versioned files if they already exist, such as the dotnet executable."
+ echo " --skip-non-versioned-files Skips non-versioned files if they already exist, such as the dotnet executable."
echo " -SkipNonVersionedFiles"
- echo " --dry-run,-DryRun Do not perform installation. Display download link."
- echo " --no-path, -NoPath Do not set PATH for the current process."
- echo " --verbose,-Verbose Display diagnostics information."
- echo " --azure-feed,-AzureFeed Azure feed location. Defaults to $azure_feed, This parameter typically is not changed by the user."
- echo " --uncached-feed,-UncachedFeed Uncached feed location. This parameter typically is not changed by the user."
- echo " --runtime-id Installs the .NET Tools for the given platform (use linux-x64 for portable linux)."
+ echo " --dry-run,-DryRun Do not perform installation. Display download link."
+ echo " --no-path, -NoPath Do not set PATH for the current process."
+ echo " --verbose,-Verbose Display diagnostics information."
+ echo " --azure-feed,-AzureFeed Azure feed location. Defaults to $azure_feed, This parameter typically is not changed by the user."
+ echo " --uncached-feed,-UncachedFeed Uncached feed location. This parameter typically is not changed by the user."
+ echo " --feed-credential,-FeedCredential Azure feed shared access token. This parameter typically is not specified."
+ echo " --runtime-id Installs the .NET Tools for the given platform (use linux-x64 for portable linux)."
echo " -RuntimeId"
- echo " -?,--?,-h,--help,-Help Shows this help message"
+ echo " -?,--?,-h,--help,-Help Shows this help message"
echo ""
echo "Install Location:"
echo " Location is chosen in following order:"
diff --git a/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj b/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj
index 04b8f25be..368cbdc14 100644
--- a/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj
+++ b/src/Microsoft.DotNet.Archive/Microsoft.DotNet.Archive.csproj
@@ -17,6 +17,6 @@
-
+
\ No newline at end of file
diff --git a/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj b/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj
index 2b23027fd..518040d30 100644
--- a/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj
+++ b/src/Microsoft.DotNet.Cli.Sln.Internal/Microsoft.DotNet.Cli.Sln.Internal.csproj
@@ -24,6 +24,6 @@
-
+
diff --git a/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj b/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj
index ed1056755..bcf9bd712 100644
--- a/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj
+++ b/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.csproj
@@ -16,16 +16,16 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
+
diff --git a/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj b/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj
index 25a33c6f8..0b4daa29e 100644
--- a/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj
+++ b/src/Microsoft.DotNet.Configurer/Microsoft.DotNet.Configurer.csproj
@@ -17,9 +17,9 @@
-
-
-
+
+
+
diff --git a/src/Microsoft.DotNet.MSBuildSdkResolver/Microsoft.DotNet.MSBuildSdkResolver.csproj b/src/Microsoft.DotNet.MSBuildSdkResolver/Microsoft.DotNet.MSBuildSdkResolver.csproj
index ca8867c75..f804fa356 100644
--- a/src/Microsoft.DotNet.MSBuildSdkResolver/Microsoft.DotNet.MSBuildSdkResolver.csproj
+++ b/src/Microsoft.DotNet.MSBuildSdkResolver/Microsoft.DotNet.MSBuildSdkResolver.csproj
@@ -16,8 +16,8 @@
-
-
+
+
diff --git a/src/dotnet/dotnet.csproj b/src/dotnet/dotnet.csproj
index 71da96676..928a17ccb 100644
--- a/src/dotnet/dotnet.csproj
+++ b/src/dotnet/dotnet.csproj
@@ -52,23 +52,23 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/redist/redist.csproj b/src/redist/redist.csproj
index dcfa97725..b8349f820 100644
--- a/src/redist/redist.csproj
+++ b/src/redist/redist.csproj
@@ -7,7 +7,7 @@
$(CliVersionPrefix)
netcoreapp2.0
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
false
$(AssetTargetFallback);dotnet5.4
@@ -16,12 +16,13 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
All
@@ -73,7 +74,7 @@
BeforeTargets="Publish">
-
+
@@ -86,7 +87,7 @@
"version": ".*"
- "version": "$(CLI_SharedFrameworkVersion)"
+ "version": "$(MicrosoftNETCoreAppPackageVersion)"
$(PublishDir)/vstest.console.runtimeconfig.json
"version": ".*"
- "version": "$(CLI_SharedFrameworkVersion)"
+ "version": "$(MicrosoftNETCoreAppPackageVersion)"
-
-
-
+
+
+
diff --git a/src/tool_msbuild/tool_msbuild.csproj b/src/tool_msbuild/tool_msbuild.csproj
index 9a2131a46..9a4974600 100644
--- a/src/tool_msbuild/tool_msbuild.csproj
+++ b/src/tool_msbuild/tool_msbuild.csproj
@@ -9,8 +9,8 @@
-
-
-
+
+
+
diff --git a/src/tool_nuget/tool_nuget.csproj b/src/tool_nuget/tool_nuget.csproj
index 5a4e4121f..9b373cb60 100644
--- a/src/tool_nuget/tool_nuget.csproj
+++ b/src/tool_nuget/tool_nuget.csproj
@@ -9,7 +9,7 @@
-
-
+
+
\ No newline at end of file
diff --git a/src/tool_roslyn_satellites/tool_roslyn_satellites.csproj b/src/tool_roslyn_satellites/tool_roslyn_satellites.csproj
index d42c632b0..8e961be59 100644
--- a/src/tool_roslyn_satellites/tool_roslyn_satellites.csproj
+++ b/src/tool_roslyn_satellites/tool_roslyn_satellites.csproj
@@ -5,7 +5,7 @@
$(CliVersionPrefix)
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
$(RoslynDirectory)/bincore
$(CommitCount)
false
@@ -14,8 +14,8 @@
-
-
+
+
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
ArgumentForwardingTests
Exe
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
@@ -18,7 +18,7 @@
-
+
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
ArgumentsReflector
Exe
diff --git a/test/EndToEnd/EndToEnd.csproj b/test/EndToEnd/EndToEnd.csproj
index 83c4a521a..8cb5233b6 100644
--- a/test/EndToEnd/EndToEnd.csproj
+++ b/test/EndToEnd/EndToEnd.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
EndToEnd
Exe
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
@@ -26,6 +26,6 @@
-
+
diff --git a/test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj b/test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj
index 0cc22883c..138cc5eea 100644
--- a/test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj
+++ b/test/Microsoft.DotNet.Cli.Sln.Internal.Tests/Microsoft.DotNet.Cli.Sln.Internal.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
Microsoft.DotNet.Cli.Sln.Internal.Tests
../../tools/test_key.snk
@@ -21,7 +21,7 @@
-
+
diff --git a/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj b/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj
index db6d59294..97c931472 100644
--- a/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj
+++ b/test/Microsoft.DotNet.Cli.Utils.Tests/Microsoft.DotNet.Cli.Utils.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
Microsoft.DotNet.Cli.Utils.Tests
Exe
../../tools/Key.snk
@@ -32,13 +32,13 @@
-
-
-
-
+
+
+
+
-
-
+
+
diff --git a/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj b/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj
index 69269abf5..d29825acd 100644
--- a/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj
+++ b/test/Microsoft.DotNet.Configurer.UnitTests/Microsoft.DotNet.Configurer.UnitTests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
Microsoft.DotNet.Configurer.UnitTests
../../tools/Key.snk
diff --git a/test/Microsoft.DotNet.MSBuildSdkResolver.Tests/Microsoft.DotNet.MSBuildSdkResolver.Tests.csproj b/test/Microsoft.DotNet.MSBuildSdkResolver.Tests/Microsoft.DotNet.MSBuildSdkResolver.Tests.csproj
index a21bb4731..b009123c0 100644
--- a/test/Microsoft.DotNet.MSBuildSdkResolver.Tests/Microsoft.DotNet.MSBuildSdkResolver.Tests.csproj
+++ b/test/Microsoft.DotNet.MSBuildSdkResolver.Tests/Microsoft.DotNet.MSBuildSdkResolver.Tests.csproj
@@ -4,7 +4,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
Exe
../../tools/Key.snk
true
@@ -17,12 +17,12 @@
-
+
-
-
+
+
diff --git a/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj b/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj
index c13629f52..2ac3bfe37 100644
--- a/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj
+++ b/test/Microsoft.DotNet.Tools.Tests.Utilities/Microsoft.DotNet.Tools.Tests.Utilities.csproj
@@ -21,6 +21,6 @@
-
+
\ No newline at end of file
diff --git a/test/Msbuild.Tests.Utilities/Msbuild.Tests.Utilities.csproj b/test/Msbuild.Tests.Utilities/Msbuild.Tests.Utilities.csproj
index ded34abd0..ba6e65af5 100644
--- a/test/Msbuild.Tests.Utilities/Msbuild.Tests.Utilities.csproj
+++ b/test/Msbuild.Tests.Utilities/Msbuild.Tests.Utilities.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
Msbuild.Tests.Utilities
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
@@ -20,7 +20,7 @@
-
-
+
+
diff --git a/test/binding-redirects.Tests/binding-redirects.Tests.csproj b/test/binding-redirects.Tests/binding-redirects.Tests.csproj
index 7922a876d..072bc6352 100644
--- a/test/binding-redirects.Tests/binding-redirects.Tests.csproj
+++ b/test/binding-redirects.Tests/binding-redirects.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
binding-redirects.Tests
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
@@ -14,9 +14,9 @@
-
+
-
+
diff --git a/test/crossgen.Tests/crossgen.Tests.csproj b/test/crossgen.Tests/crossgen.Tests.csproj
index 980cd78e7..3050759b4 100644
--- a/test/crossgen.Tests/crossgen.Tests.csproj
+++ b/test/crossgen.Tests/crossgen.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
crossgen.Tests
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
diff --git a/test/dotnet-add-package.Tests/dotnet-add-package.Tests.csproj b/test/dotnet-add-package.Tests/dotnet-add-package.Tests.csproj
index 36ec73b00..9dc27f338 100644
--- a/test/dotnet-add-package.Tests/dotnet-add-package.Tests.csproj
+++ b/test/dotnet-add-package.Tests/dotnet-add-package.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-add-package.Tests
../../tools/Key.snk
@@ -22,9 +22,9 @@
-
+
-
+
diff --git a/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj b/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj
index 46b4c5b3a..a023511e3 100644
--- a/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj
+++ b/test/dotnet-add-reference.Tests/dotnet-add-reference.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-add-reference.Tests
../../tools/Key.snk
@@ -24,7 +24,7 @@
-
-
+
+
diff --git a/test/dotnet-back-compat.Tests/dotnet-back-compat.Tests.csproj b/test/dotnet-back-compat.Tests/dotnet-back-compat.Tests.csproj
index 0b7b9fa26..6b380559f 100644
--- a/test/dotnet-back-compat.Tests/dotnet-back-compat.Tests.csproj
+++ b/test/dotnet-back-compat.Tests/dotnet-back-compat.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-back-compat.Tests
@@ -13,7 +13,7 @@
-
+
diff --git a/test/dotnet-build.Tests/dotnet-build.Tests.csproj b/test/dotnet-build.Tests/dotnet-build.Tests.csproj
index d72a8f986..95f80d6bf 100644
--- a/test/dotnet-build.Tests/dotnet-build.Tests.csproj
+++ b/test/dotnet-build.Tests/dotnet-build.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-build.Tests
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
diff --git a/test/dotnet-clean.Tests/dotnet-clean.Tests.csproj b/test/dotnet-clean.Tests/dotnet-clean.Tests.csproj
index 831a64d3b..2cec39474 100644
--- a/test/dotnet-clean.Tests/dotnet-clean.Tests.csproj
+++ b/test/dotnet-clean.Tests/dotnet-clean.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-clean.Tests
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
diff --git a/test/dotnet-help.Tests/dotnet-help.Tests.csproj b/test/dotnet-help.Tests/dotnet-help.Tests.csproj
index 88443c674..70ce3486e 100644
--- a/test/dotnet-help.Tests/dotnet-help.Tests.csproj
+++ b/test/dotnet-help.Tests/dotnet-help.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-help.Tests
../../tools/Key.snk
@@ -20,7 +20,7 @@
-
+
diff --git a/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj b/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj
index c62326007..32b249ed5 100644
--- a/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj
+++ b/test/dotnet-list-reference.Tests/dotnet-list-reference.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-list-reference.Tests
../../tools/Key.snk
@@ -23,6 +23,6 @@
-
+
diff --git a/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj b/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj
index 2a9fe2963..0bc0b107c 100644
--- a/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj
+++ b/test/dotnet-migrate.Tests/dotnet-migrate.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-migrate.Tests
$(AssetTargetFallback);netstandardapp1.5;dotnet5.4;portable-net451+win8
@@ -28,6 +28,6 @@
-
+
diff --git a/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj b/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj
index 4a20f6cf9..cc45fc290 100644
--- a/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj
+++ b/test/dotnet-msbuild.Tests/dotnet-msbuild.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-msbuild.Tests
../../tools/Key.snk
diff --git a/test/dotnet-new.Tests/dotnet-new.Tests.csproj b/test/dotnet-new.Tests/dotnet-new.Tests.csproj
index 7dc7368f6..1d5513241 100644
--- a/test/dotnet-new.Tests/dotnet-new.Tests.csproj
+++ b/test/dotnet-new.Tests/dotnet-new.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-new.Tests
$(AssetTargetFallback);dnxcore50;portable-net45+win8
@@ -17,7 +17,7 @@
-
+
diff --git a/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj b/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj
index 327ad4bec..842ad9f2b 100644
--- a/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj
+++ b/test/dotnet-nuget.UnitTests/dotnet-nuget.UnitTests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-nuget.UnitTests
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
diff --git a/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj b/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj
index 755ce3f43..98ab08de7 100644
--- a/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj
+++ b/test/dotnet-pack.Tests/dotnet-pack.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-pack.Tests
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
diff --git a/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj b/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj
index 5641910fa..befc31f08 100644
--- a/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj
+++ b/test/dotnet-publish.Tests/dotnet-publish.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-publish.Tests
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
diff --git a/test/dotnet-remove-package.Tests/dotnet-remove-package.Tests.csproj b/test/dotnet-remove-package.Tests/dotnet-remove-package.Tests.csproj
index 84669fe6d..7b6cbba9e 100644
--- a/test/dotnet-remove-package.Tests/dotnet-remove-package.Tests.csproj
+++ b/test/dotnet-remove-package.Tests/dotnet-remove-package.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-remove-package.Tests
../../tools/Key.snk
@@ -22,8 +22,8 @@
-
+
-
+
diff --git a/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj b/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj
index 53a68dce5..315b5a6ad 100644
--- a/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj
+++ b/test/dotnet-remove-reference.Tests/dotnet-remove-reference.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-remove-reference.Tests
../../tools/Key.snk
@@ -22,8 +22,8 @@
-
+
-
+
diff --git a/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj b/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj
index 812246448..a8be52dc0 100644
--- a/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj
+++ b/test/dotnet-restore.Tests/dotnet-restore.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-restore.Tests
$(AssetTargetFallback);dnxcore50;portable-net45+win8
@@ -17,9 +17,9 @@
-
+
-
+
diff --git a/test/dotnet-run.Tests/dotnet-run.Tests.csproj b/test/dotnet-run.Tests/dotnet-run.Tests.csproj
index e1b7fbe50..efde5f7cf 100644
--- a/test/dotnet-run.Tests/dotnet-run.Tests.csproj
+++ b/test/dotnet-run.Tests/dotnet-run.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-run.Tests
../../tools/Key.snk
diff --git a/test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj b/test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj
index 6bc9287df..66b78a5f1 100644
--- a/test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj
+++ b/test/dotnet-sln-add.Tests/dotnet-sln-add.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-sln-add.Tests
../../tools/Key.snk
@@ -25,6 +25,6 @@
-
+
diff --git a/test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj b/test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj
index a7b806863..a315be891 100644
--- a/test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj
+++ b/test/dotnet-sln-list.Tests/dotnet-sln-list.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-sln-list.Tests
../../tools/Key.snk
diff --git a/test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj b/test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj
index 8609bdb05..6c2176c9a 100644
--- a/test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj
+++ b/test/dotnet-sln-remove.Tests/dotnet-sln-remove.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-sln-remove.Tests
../../tools/Key.snk
diff --git a/test/dotnet-store.Tests/dotnet-store.Tests.csproj b/test/dotnet-store.Tests/dotnet-store.Tests.csproj
index 650b63b6a..b3935c5cc 100644
--- a/test/dotnet-store.Tests/dotnet-store.Tests.csproj
+++ b/test/dotnet-store.Tests/dotnet-store.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-cache.Tests
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
diff --git a/test/dotnet-test.Tests/dotnet-test.Tests.csproj b/test/dotnet-test.Tests/dotnet-test.Tests.csproj
index a47ee9357..fec1c07a6 100644
--- a/test/dotnet-test.Tests/dotnet-test.Tests.csproj
+++ b/test/dotnet-test.Tests/dotnet-test.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-test.Tests
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
diff --git a/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj b/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj
index c774406bd..5b89d32d0 100644
--- a/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj
+++ b/test/dotnet-vstest.Tests/dotnet-vstest.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet-vstest.Tests
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
diff --git a/test/dotnet.Tests/dotnet.Tests.csproj b/test/dotnet.Tests/dotnet.Tests.csproj
index 12467295b..2aa66d8e5 100644
--- a/test/dotnet.Tests/dotnet.Tests.csproj
+++ b/test/dotnet.Tests/dotnet.Tests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
dotnet.Tests
../../tools/Key.snk
@@ -41,7 +41,7 @@
-
-
+
+
diff --git a/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj b/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj
index cab0ce168..cbec7422a 100644
--- a/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj
+++ b/test/msbuild.IntegrationTests/msbuild.IntegrationTests.csproj
@@ -3,7 +3,7 @@
$(CliTargetFramework)
- $(CLI_SharedFrameworkVersion)
+ $(MicrosoftNETCoreAppPackageVersion)
true
msbuild.IntegrationTests
$(AssetTargetFallback);dotnet5.4;portable-net451+win8
diff --git a/tools/CrossGen.Dependencies/CrossGen.Dependencies.csproj b/tools/CrossGen.Dependencies/CrossGen.Dependencies.csproj
index e29aa4cdb..3e5f83352 100644
--- a/tools/CrossGen.Dependencies/CrossGen.Dependencies.csproj
+++ b/tools/CrossGen.Dependencies/CrossGen.Dependencies.csproj
@@ -7,7 +7,7 @@
-
+
diff --git a/tools/Signing.Dependencies/Signing.Dependencies.csproj b/tools/Signing.Dependencies/Signing.Dependencies.csproj
index c98ee321a..55fef49e4 100644
--- a/tools/Signing.Dependencies/Signing.Dependencies.csproj
+++ b/tools/Signing.Dependencies/Signing.Dependencies.csproj
@@ -6,7 +6,7 @@
-
+