Open
Description
Description
build\Selenium.WebDriver.targets
just includes all selemium-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" project
So a dedicated property (that can be set in .csproj
or Directory.Build.props
)? (Empty=Default="copy all" to be non-breaking)
Have you considered any alternatives or workarounds?
manually delete unneeded binaries after dotnet publish