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