diff --git a/packages/jsii-dotnet-runtime/build.sh b/packages/jsii-dotnet-runtime/build.sh index e8486df23a..9bab9ae901 100644 --- a/packages/jsii-dotnet-runtime/build.sh +++ b/packages/jsii-dotnet-runtime/build.sh @@ -11,6 +11,10 @@ rsync -av node_modules/jsii-runtime/webpack/ ${bundle_dir} # up an old build from the cache if it exists. So we # explicitly clear the cache as a temporary workaround. dotnet nuget locals all --clear -dotnet build -c Release ./src/Amazon.JSII.Runtime.sln + +# Build just Runtime and it's dependencies instead of the +# solution to avoid integration tests from trying to be +# built before the calc packages are generated. +dotnet build -c Release ./src/Amazon.JSII.Runtime cp -f ./bin/Release/NuGet/*.nupkg .