[🚀 Feature]: do not copy unneccesary selenium-manager
binaries via Selenium.WebDriver
NuGet
#15768
Labels
A-needs-triaging
A Selenium member will evaluate this soon!
B-manager
Selenium Manager
C-dotnet
.NET Bindings
I-enhancement
Something could be better
Uh oh!
There was an error while loading. Please reload this page.
Description
build\Selenium.WebDriver.targets
just includes allselemium-manager
binaries in the build regardless of (target) OS. It would be nice, if one could somehow control which ones are copied.Our tests (currently) only run on windows, so the linux and macos binaries are never used and are just "bloat". Some Applications/Tests may have the
<RuntimeIdentifier>
or similar MsBuild-Properties set. However I guess it is not always present, if the package is included in e.g a "plain net8.0" projectSo a dedicated property (that can be set in
.csproj
orDirectory.Build.props
)? (Empty=Default="copy all" to be non-breaking)Have you considered any alternatives or workarounds?
manually delete unneeded binaries after
dotnet publish
The text was updated successfully, but these errors were encountered: