[release/3.1] Fix use of ilasm during test builds when using a 3.0 SDK (#27818)
authorJuan Hoyos <juan.hoyos@microsoft.com>
Mon, 11 Nov 2019 23:40:59 +0000 (15:40 -0800)
committerGitHub <noreply@github.com>
Mon, 11 Nov 2019 23:40:59 +0000 (15:40 -0800)
commitfd44c0fd4d749d2ad4a57f09e6a33814d60fc2a7
tree4efec3b7bc4acb34e216054ed08cf5b8fb6a148f
parent816d9ee684202b21c91ac1480b517022a97a39b6
[release/3.1] Fix use of ilasm during test builds when using a 3.0 SDK (#27818)

* Add fix for restore of ilasm

The restore logic in buildtools tried to use a netcoreapp2.1 TFM for Linux-musl.
This ended up restoring Linux-x64 binaries which then broke the test build.
This change works around this by saving a copy of the depproj that BuildTools used into
the tree and restore it as a 3.0 app manually in init-tools on our side of the build.

* Change to a 3.0 SDK for servicing
global.json
init-tools.cmd
init-tools.sh
tests/ilasm-restore/Directory.Build.props [new file with mode: 0644]
tests/ilasm-restore/Directory.Build.targets [new file with mode: 0644]
tests/ilasm-restore/ilasm.depproj [new file with mode: 0644]