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 - - true + $(DefaultNetCoreTargetFramework) exe + false + false + false + diff --git a/src/Components/benchmarkapps/Wasm.Performance/TestApp/Wasm.Performance.TestApp.csproj b/src/Components/benchmarkapps/Wasm.Performance/TestApp/Wasm.Performance.TestApp.csproj index 3fb5a922a3..3d28c77a21 100644 --- a/src/Components/benchmarkapps/Wasm.Performance/TestApp/Wasm.Performance.TestApp.csproj +++ b/src/Components/benchmarkapps/Wasm.Performance/TestApp/Wasm.Performance.TestApp.csproj @@ -2,8 +2,11 @@ netstandard2.1 - true 3.0 + + false + false + true 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