Enable restore for ref and src projects in libraries (#33242)
authorViktor Hofer <viktor.hofer@microsoft.com>
Tue, 10 Mar 2020 12:48:20 +0000 (13:48 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Mar 2020 12:48:20 +0000 (13:48 +0100)
commit981cc64bc42eeed5c5634ad8f3680398039603cc
tree89375dea539687d34136588b5e607a25dc5113fe
parent4d2a2da73d060e43f8d2dd68276ee2f7aeea3211
Enable restore for ref and src projects in libraries (#33242)

* Enable restore for projects in libraries

Enabling project restore for ref and src projects

* Remove winrt.depproj

* Remove tools.depproj

* Enable upfront restore

* Fix casing of PInvokeAnalyzerException file

* Remove harvestPackages.depproj and refactoring

Removing havestPackages.depproj in favor of a target that is hooked
into Arcade's repo restore phase in Tools.props.

Additionally moving common properties that are used both in Arcade and
the repo inside Configurations.props. Before they were scattered around
multiple places (Versions.props, Subsets.props).

* Set ilasm/ildasm RID for restore

* Sequence restore into steps out of upfront restore

* Fix docker entrypoints by using build.cmd/sh
42 files changed:
Directory.Build.props
docs/coding-guidelines/project-guidelines.md
eng/Analyzers.props
eng/Build.props
eng/Configurations.props
eng/Subsets.props
eng/Tools.props
eng/Version.Details.xml
eng/Versions.props
eng/codeAnalysis.targets [deleted file]
eng/docker/build-docker-sdk.ps1
eng/docker/libraries-sdk.linux.Dockerfile
eng/pipelines/libraries/enterprise/linux.yml
eng/restore/harvestPackages.targets [new file with mode: 0644]
eng/restore/repoRestore.props
eng/restore/repoRestore.targets
global.json
src/libraries/Directory.Build.props
src/libraries/Directory.Build.targets
src/libraries/Microsoft.VisualBasic.Core/src/Microsoft.VisualBasic.Core.vbproj
src/libraries/System.Net.Http/src/PInvokeAnalyzerExceptionList.analyzerdata [deleted file]
src/libraries/System.Net.Http/src/PinvokeAnalyzerExceptionList.analyzerdata [new file with mode: 0644]
src/libraries/System.Runtime.WindowsRuntime/ref/System.Runtime.WindowsRuntime.csproj
src/libraries/System.Runtime.WindowsRuntime/src/System.Runtime.WindowsRuntime.csproj
src/libraries/System.Runtime.WindowsRuntime/tests/System.Runtime.WindowsRuntime.Tests.csproj
src/libraries/build.proj
src/libraries/dirs.proj
src/libraries/packages.builds [deleted file]
src/libraries/packages.proj [new file with mode: 0644]
src/libraries/pretest.proj
src/libraries/ref.builds [deleted file]
src/libraries/ref.proj [new file with mode: 0644]
src/libraries/restore/analyzers/analyzers.depproj [deleted file]
src/libraries/restore/dirs.proj
src/libraries/restore/harvestPackages/harvestPackages.depproj [deleted file]
src/libraries/restore/tools/tools.depproj [deleted file]
src/libraries/restore/winrt/winrt.depproj [deleted file]
src/libraries/shims/ApiCompat.proj
src/libraries/shims/Directory.Build.props
src/libraries/src.builds [deleted file]
src/libraries/src.proj [new file with mode: 0644]
src/libraries/tests.proj