Closed Xen0byte closed 2 years ago
I guess it is because of https://github.com/microsoft/playwright-dotnet/pull/1955 which now includes the node / package when doing a dotnet pack
.
You can set PlaywrightPlatform=none
either in the .csproj
like
<PropertyGroup>
<PlaywrightPlatform>none</PlaywrightPlatform>
</PropertyGroup>
or when running dotnet pack /p:PlaywrightPlatform=none
.
https://playwright.dev/dotnet/docs/intro#bundle-drivers-for-different-platforms
Aha, thanks @campersau, I must have missed this change in the recent changelogs. Please feel free to close this issue, if that is the intended behavior. 😊
Context:
Describe the bug
Building a NuGet package for my project with a reference to v1.18.1 creates a 68kb NUPKG, however building the exact same solution but with a reference to v1.19.0 creates a 51,840kb NUPKG.