Bundler Test: Run using AppHost (dotnet/core-setup#5574)
authorSwaroop Sridhar <Swaroop.Sridhar@microsoft.com>
Wed, 27 Mar 2019 14:47:15 +0000 (07:47 -0700)
committerGitHub <noreply@github.com>
Wed, 27 Mar 2019 14:47:15 +0000 (07:47 -0700)
commit66249bb4a71e88f079de25d89af9f8efeca84617
tree82b657dbc8dd3d98e938f88cbe7977e2d3a6520a
parent87f1a9e8f650b1bd4991a905df347c3ceeb8f4ae
Bundler Test: Run using AppHost (dotnet/core-setup#5574)

The bundler test runs a self-contained-published test app twice:
once before and once after bundling.

The initial run (to sanity check the project) was done using
the dotnet host obtained from the SDK. However, the SDK dotnet seems
to be a X64 binary, which failed to run the test-app published for x86.
https://dev.azure.com/dnceng/public/_build/results?buildId=134281&view=logs

This change fixes the problem by invoking both runs using the published AppHost.

Commit migrated from https://github.com/dotnet/core-setup/commit/e9bd1539c2fb2d0d5c1aff2ea05d6f095ad5e913
src/installer/test/Microsoft.DotNet.Build.Bundle.Tests/BundleAndExtract.cs