Skip to content

Commit 63d7e0c

Browse files
committed
And check RuntimeIdentifiers
1 parent 74a2053 commit 63d7e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/webdriver/assets/nuget/build/netstandard2.0/Selenium.WebDriver.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<!-- Only run if the consumer did NOT set a RID (so NuGet won't select runtimes assets),
55
and only for .NET Framework projects where this problem is common. -->
6-
<ItemGroup Condition="'$(RuntimeIdentifier)' == '' and '$(TargetFrameworkIdentifier)' == '.NETFramework'">
6+
<ItemGroup Condition="'$(RuntimeIdentifier)' == '' and '$(RuntimeIdentifiers)' == '' and '$(TargetFrameworkIdentifier)' == '.NETFramework'">
77
<Content Include="$(MSBuildThisFileDirectory)..\..\runtimes\win\native\selenium-manager.exe">
88
<Link>runtimes\win\native\%(Filename)%(Extension)</Link>
99
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

0 commit comments

Comments
 (0)