From 4201799425cfb06f1fef64c919ef753cf3990ef1 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Mon, 10 Feb 2020 14:22:14 -0800 Subject: [PATCH] Fixups to ensure benchmarks apps builds in the master branch Fixes https://github.com/dotnet/aspnetcore/issues/18484 --- eng/Build.props | 2 +- .../Wasm.Performance/Driver/Wasm.Performance.Driver.csproj | 5 ++--- src/Components/benchmarkapps/Wasm.Performance/dockerfile | 3 ++- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eng/Build.props b/eng/Build.props index 450f8731ad..876c87b6f4 100644 --- a/eng/Build.props +++ b/eng/Build.props @@ -43,7 +43,7 @@ - - netcoreapp3.1 + $(DefaultNetCoreTargetFramework) - true exe @@ -12,6 +10,7 @@ + diff --git a/src/Components/benchmarkapps/Wasm.Performance/dockerfile b/src/Components/benchmarkapps/Wasm.Performance/dockerfile index 69f27a9212..410556f21a 100644 --- a/src/Components/benchmarkapps/Wasm.Performance/dockerfile +++ b/src/Components/benchmarkapps/Wasm.Performance/dockerfile @@ -21,7 +21,8 @@ RUN git init \ && git reset --hard FETCH_HEAD \ && git submodule update --init -RUN dotnet publish -c Release -r linux-x64 -o /app ./src/Components/benchmarkapps/Wasm.Performance/Driver/Wasm.Performance.Driver.csproj +RUN ./restore.sh +RUN .dotnet/dotnet publish -c Release -r linux-x64 -o /app ./src/Components/benchmarkapps/Wasm.Performance/Driver/Wasm.Performance.Driver.csproj RUN chmod +x /app/Wasm.Performance.Driver WORKDIR /app