diff --git a/Directory.Build.props b/Directory.Build.props index f036d6988869..7ac4a3ee6b23 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -114,19 +114,6 @@ $([MSBuild]::NormalizeDirectory('$(RepoRoot)', 'src')) - - - $(DotNetRestorePackagesPath) - $([MSBuild]::EnsureTrailingSlash('$(NuGetPackageRoot)')) - $(RepoRoot).packages/ - - $(DOTNET_INSTALL_DIR) - $(RepoRoot).dotnet\ - $(DotNetRoot)\ - $(DotNetRoot) - "$(DotNetRoot)dotnet" - $(DotNetRoot)dotnet - $(DotNetCmd).exe $(ArtifactsToolsetDir)Common\Tools.Analyzers.props - - $([MSBuild]::NormalizeDirectory('$(RepoRoot)', '.dotnet')) - $(DotNetRoot)dotnet - $(DotNetCmd).exe - "$(DotNetCmd)" @@ -81,7 +76,7 @@ $(OptionalToolDir)Tools.csproj - @@ -95,7 +90,7 @@ @@ -104,7 +99,7 @@ @@ -113,7 +108,7 @@ Creates the global tools folder automatically if it doesn't exist. --> diff --git a/eng/configure-toolset.ps1 b/eng/configure-toolset.ps1 deleted file mode 100644 index 637e9869e2f7..000000000000 --- a/eng/configure-toolset.ps1 +++ /dev/null @@ -1,5 +0,0 @@ -# We depend on a local cli for a number of our buildtool -# commands like init-tools so for now we need to disable -# using the globally installed dotnet - -$script:useInstalledDotNetCli = $false diff --git a/eng/configure-toolset.sh b/eng/configure-toolset.sh deleted file mode 100644 index 267c180859f8..000000000000 --- a/eng/configure-toolset.sh +++ /dev/null @@ -1,5 +0,0 @@ -# We depend on a local cli for a number of our buildtool -# commands like init-tools so for now we need to disable -# using the globally installed dotnet - -useInstalledDotNetCli=false \ No newline at end of file diff --git a/eng/publish.proj b/eng/publish.proj index 58b5ffee7ce4..e2c970d4a2b7 100644 --- a/eng/publish.proj +++ b/eng/publish.proj @@ -1,6 +1,6 @@ - + diff --git a/external/ILLink/ILLink.depproj b/external/ILLink/ILLink.depproj index 5049897cd56f..7f13db572f27 100644 --- a/external/ILLink/ILLink.depproj +++ b/external/ILLink/ILLink.depproj @@ -14,14 +14,14 @@ - + $(ILLinkTasksPackageId) $(ILLinkTasksPackageVersion) /netcoreapp2.0/ - + $(ILLinkTasksPackageId) $(ILLinkTasksPackageVersion) /net46/ diff --git a/external/netfx/netfx.depproj b/external/netfx/netfx.depproj index ccf87f90409c..cba92087c3de 100644 --- a/external/netfx/netfx.depproj +++ b/external/netfx/netfx.depproj @@ -6,7 +6,7 @@ Reference NETStandard.Library.NETFramework 2.0.1-servicing-26011-01 - $(PackagesDir)$(NETStandardSupportPackageId.ToLower())\$(NETStandardSupportPackageVersion)\build + $(NuGetPackageRoot)$(NETStandardSupportPackageId.ToLower())\$(NETStandardSupportPackageVersion)\build true diff --git a/external/netstandard/netstandard.depproj b/external/netstandard/netstandard.depproj index 7e474bb52ef7..6c139d25e175 100644 --- a/external/netstandard/netstandard.depproj +++ b/external/netstandard/netstandard.depproj @@ -77,7 +77,7 @@ - <_NETStandard21RefFolder>$(PackagesDir)$(NETStandardLibraryPackageId.ToLower())\$(NETStandardLibraryPackageVersion)\build\netstandard2.1\ref + <_NETStandard21RefFolder>$(NuGetPackageRoot)$(NETStandardLibraryPackageId.ToLower())\$(NETStandardLibraryPackageVersion)\build\netstandard2.1\ref @@ -94,7 +94,7 @@ - <_NETStandardRefFolder>$(PackagesDir)$(NETStandardLibraryPackageId.ToLower())\$(NETStandardLibraryPackageVersion)\build\$(_NETStandardTFMFolder)\ref + <_NETStandardRefFolder>$(NuGetPackageRoot)$(NETStandardLibraryPackageId.ToLower())\$(NETStandardLibraryPackageVersion)\build\$(_NETStandardTFMFolder)\ref diff --git a/external/test-runtime/XUnit.Runtime.depproj b/external/test-runtime/XUnit.Runtime.depproj index 99ace03dc2f7..817daa2e8d18 100644 --- a/external/test-runtime/XUnit.Runtime.depproj +++ b/external/test-runtime/XUnit.Runtime.depproj @@ -98,7 +98,7 @@ AfterTargets="AfterResolveReferences"> - + @@ -127,7 +127,7 @@ AfterTargets="AfterResolveReferences"> - $(PackagesDir)$(MicrosoftDotNetUapTestToolsPackageName)\$(MicrosoftDotNetUapTestToolsPackageVersion)\Tools\$(ArchGroup) + $(NuGetPackageRoot)$(MicrosoftDotNetUapTestToolsPackageName)\$(MicrosoftDotNetUapTestToolsPackageVersion)\Tools\$(ArchGroup) $(UAPToolsFolder.Replace('/', '\')) @@ -162,7 +162,7 @@ - <_microsoftNetTestSdkAssets Include="$(PackagesDir)$(MicrosoftNetTestSdkPackageName)\$(MicrosoftNETTestSdkPackageVersion)\build\$(TestSdkTFM)\*.*" /> + <_microsoftNetTestSdkAssets Include="$(NuGetPackageRoot)$(MicrosoftNetTestSdkPackageName)\$(MicrosoftNETTestSdkPackageVersion)\build\$(TestSdkTFM)\*.*" /> false $(MicrosoftNetTestSdkPackageName) @@ -171,7 +171,7 @@ + Text="Error: no assets for test sdk package were found under: $(NuGetPackageRoot)$(MicrosoftNetTestSdkPackageName)\$(MicrosoftNETTestSdkPackageVersion)\build\$(TestSdkTFM)\*.*" /> @@ -179,25 +179,25 @@ Condition="'$(TargetGroup)' == 'netcoreapp'" BeforeTargets="ResolveReferences"> - - - + + + - + false $(MicrosoftDotNetXUnitConsoleRunnerPackage) $(MicrosoftDotNetXUnitConsoleRunnerPackageVersion) - + false $(XUnitTestAdapterPackageId) $(XUnitPackageVersion) - + false $(TestPlatformHostPackageId) $(MicrosoftNETTestSdkPackageVersion) @@ -210,18 +210,18 @@ Condition="'$(TargetsUap)' == 'true'" BeforeTargets="ResolveReferences"> - - + + - + false $(XUnitTestAdapterPackageId) $(XUnitPackageVersion) - + false $(TestPlatformHostPackageId) $(MicrosoftNETTestSdkPackageVersion) @@ -234,18 +234,18 @@ Condition="'$(TargetsAot)' == 'true'" BeforeTargets="ResolveReferences"> - - + + - + false $(MicrosoftDotNetUapTestToolsPackageName) $(MicrosoftDotNetUapTestToolsPackageVersion) - + false xunit.runner.utility $(XUnitPackageVersion) @@ -258,19 +258,19 @@ Condition="'$(TargetGroup)' == 'netfx'" BeforeTargets="ResolveReferences"> - - + + - + false $(XUnitRunnerConsolePackageName) $(XUnitPackageVersion) - + false $(XUnitTestAdapterPackageId) $(XUnitPackageVersion) @@ -282,11 +282,11 @@ - + - + false $(MicrosoftDotNetRemoteExecutorPackage) $(MicrosoftDotNetRemoteExecutorPackageVersion) diff --git a/pkg/Microsoft.Private.PackageBaseline/Microsoft.Private.PackageBaseline.pkgproj b/pkg/Microsoft.Private.PackageBaseline/Microsoft.Private.PackageBaseline.pkgproj index b9bd433bee7a..52b3b657ca59 100644 --- a/pkg/Microsoft.Private.PackageBaseline/Microsoft.Private.PackageBaseline.pkgproj +++ b/pkg/Microsoft.Private.PackageBaseline/Microsoft.Private.PackageBaseline.pkgproj @@ -30,10 +30,10 @@ $(UAPvNextTFM) - + netstandard2.0 - + net461 diff --git a/pkg/frameworkPackage.targets b/pkg/frameworkPackage.targets index 1c0abf101f06..c91d1ebe3132 100644 --- a/pkg/frameworkPackage.targets +++ b/pkg/frameworkPackage.targets @@ -5,7 +5,7 @@ true 2.0 - $(PackagesDir)$(NETStandardLibraryPackageId.ToLower())\$(NETStandardLibraryPackageVersion)\build\netstandard$(NETStandardVersion)\ref + $(NuGetPackageRoot)$(NETStandardLibraryPackageId.ToLower())\$(NETStandardLibraryPackageVersion)\build\netstandard$(NETStandardVersion)\ref true true diff --git a/pkg/test/testPackages.proj b/pkg/test/testPackages.proj index 193762258d67..da1e0ecd6a56 100644 --- a/pkg/test/testPackages.proj +++ b/pkg/test/testPackages.proj @@ -40,7 +40,7 @@ - + $(TestToolsDir)%(RecursiveDir) diff --git a/src/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj b/src/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj index 50be0858b3fc..8c4a02704f9c 100644 --- a/src/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj +++ b/src/System.ComponentModel.TypeConverter/tests/System.ComponentModel.TypeConverter.Tests.csproj @@ -153,7 +153,7 @@ - + %(RecursiveDir)%(Filename)%(Extension) diff --git a/src/System.Drawing.Common/tests/System.Drawing.Common.Tests.csproj b/src/System.Drawing.Common/tests/System.Drawing.Common.Tests.csproj index c8e1f60e68cc..0c58d6a512b4 100644 --- a/src/System.Drawing.Common/tests/System.Drawing.Common.Tests.csproj +++ b/src/System.Drawing.Common/tests/System.Drawing.Common.Tests.csproj @@ -86,22 +86,22 @@ - + %(RecursiveDir)%(Filename)%(Extension) - + System.Drawing.Tests.48x48_multiple_entries_4bit.ico - + System.Drawing.Tests.bitmap_173x183_indexed_8bit.bmp - + System.Drawing.Tests.empty.file - + System.Drawing.Tests.invalid.ico - + System.Drawing.Tests.Icon_toolboxBitmapAttributeTest diff --git a/src/System.IO.Compression.Brotli/tests/System.IO.Compression.Brotli.Tests.csproj b/src/System.IO.Compression.Brotli/tests/System.IO.Compression.Brotli.Tests.csproj index 5b8b48c38250..c740b7022dc0 100644 --- a/src/System.IO.Compression.Brotli/tests/System.IO.Compression.Brotli.Tests.csproj +++ b/src/System.IO.Compression.Brotli/tests/System.IO.Compression.Brotli.Tests.csproj @@ -28,7 +28,7 @@ - + %(RecursiveDir)%(Filename)%(Extension) diff --git a/src/System.IO.Compression.ZipFile/tests/System.IO.Compression.ZipFile.Tests.csproj b/src/System.IO.Compression.ZipFile/tests/System.IO.Compression.ZipFile.Tests.csproj index eff9402799c0..24454ebfcf77 100644 --- a/src/System.IO.Compression.ZipFile/tests/System.IO.Compression.ZipFile.Tests.csproj +++ b/src/System.IO.Compression.ZipFile/tests/System.IO.Compression.ZipFile.Tests.csproj @@ -38,7 +38,7 @@ - + %(RecursiveDir)%(Filename)%(Extension) diff --git a/src/System.IO.Compression/tests/System.IO.Compression.Tests.csproj b/src/System.IO.Compression/tests/System.IO.Compression.Tests.csproj index 3f15eddec457..cde91e5797af 100644 --- a/src/System.IO.Compression/tests/System.IO.Compression.Tests.csproj +++ b/src/System.IO.Compression/tests/System.IO.Compression.Tests.csproj @@ -49,7 +49,7 @@ - + %(RecursiveDir)%(Filename)%(Extension) diff --git a/src/System.IO.Packaging/tests/System.IO.Packaging.Tests.csproj b/src/System.IO.Packaging/tests/System.IO.Packaging.Tests.csproj index 0123dd78642f..bb45daedae73 100644 --- a/src/System.IO.Packaging/tests/System.IO.Packaging.Tests.csproj +++ b/src/System.IO.Packaging/tests/System.IO.Packaging.Tests.csproj @@ -7,6 +7,6 @@ - + \ No newline at end of file diff --git a/src/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj b/src/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj index e7b2d9ff7d25..80be7529491d 100644 --- a/src/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj +++ b/src/System.Net.Http/tests/FunctionalTests/System.Net.Http.Functional.Tests.csproj @@ -172,7 +172,7 @@ - + diff --git a/src/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj b/src/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj index d60b476f02b5..fed636ecd10d 100644 --- a/src/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj +++ b/src/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj @@ -158,6 +158,6 @@ - + diff --git a/src/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj b/src/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj index 65f1f0f0149d..1717d2753e40 100644 --- a/src/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj +++ b/src/System.Net.WebSockets.Client/tests/System.Net.WebSockets.Client.Tests.csproj @@ -61,6 +61,6 @@ - + diff --git a/src/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj b/src/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj index e774f0d55882..922f23bb458c 100644 --- a/src/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj +++ b/src/System.Resources.Extensions/tests/System.Resources.Extensions.Tests.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/System.Runtime.WindowsRuntime/pkg/System.Runtime.WindowsRuntime.pkgproj b/src/System.Runtime.WindowsRuntime/pkg/System.Runtime.WindowsRuntime.pkgproj index 8a189e7737e6..c20ee7643e44 100644 --- a/src/System.Runtime.WindowsRuntime/pkg/System.Runtime.WindowsRuntime.pkgproj +++ b/src/System.Runtime.WindowsRuntime/pkg/System.Runtime.WindowsRuntime.pkgproj @@ -22,7 +22,7 @@ diff --git a/src/System.Security.Cryptography.X509Certificates/tests/System.Security.Cryptography.X509Certificates.Tests.csproj b/src/System.Security.Cryptography.X509Certificates/tests/System.Security.Cryptography.X509Certificates.Tests.csproj index aa37d9c3089f..e132f609ef55 100644 --- a/src/System.Security.Cryptography.X509Certificates/tests/System.Security.Cryptography.X509Certificates.Tests.csproj +++ b/src/System.Security.Cryptography.X509Certificates/tests/System.Security.Cryptography.X509Certificates.Tests.csproj @@ -128,6 +128,6 @@ - + diff --git a/src/System.Windows.Extensions/tests/System.Windows.Extensions.Tests.csproj b/src/System.Windows.Extensions/tests/System.Windows.Extensions.Tests.csproj index c400b121a280..93712eae0835 100644 --- a/src/System.Windows.Extensions/tests/System.Windows.Extensions.Tests.csproj +++ b/src/System.Windows.Extensions/tests/System.Windows.Extensions.Tests.csproj @@ -25,10 +25,10 @@ - + %(RecursiveDir)%(Filename)%(Extension) - + %(RecursiveDir)%(Filename)%(Extension)