diff options
author | Viktor Hofer <viktor.hofer@microsoft.com> | 2021-02-12 22:16:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-12 22:16:27 +0300 |
commit | edaa380d6416bf9d196dc15c3d85b74fbf7ca6e5 (patch) | |
tree | 766e879b5940e4f04c2722738b394c4e66e0921d /eng/targetingpacks.targets | |
parent | d6285044564afb667428bc8138a9d00b25e22c2e (diff) |
Avoid race conditions when building linker tests (#48028)
* Avoid race conditions when building linker tests
Diffstat (limited to 'eng/targetingpacks.targets')
-rw-r--r-- | eng/targetingpacks.targets | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eng/targetingpacks.targets b/eng/targetingpacks.targets index 13eb704b62e..cbd1cdd3aa5 100644 --- a/eng/targetingpacks.targets +++ b/eng/targetingpacks.targets @@ -19,19 +19,19 @@ TargetFramework="$(NetCoreAppCurrent)" TargetingPackName="$(SharedFrameworkName).Ref" TargetingPackVersion="$(ProductVersion)" - Condition="'@(KnownFrameworkReference)' != '' and !@(KnownFrameworkReference->AnyHaveMetadataValue('TargetFramework', '$(NetCoreAppCurrent)'))" /> + Condition="'@(KnownFrameworkReference)' == '' or !@(KnownFrameworkReference->AnyHaveMetadataValue('TargetFramework', '$(NetCoreAppCurrent)'))" /> <KnownAppHostPack Include="$(SharedFrameworkName)" AppHostPackNamePattern="$(SharedFrameworkName).Host.**RID**" AppHostPackVersion="$(ProductVersion)" AppHostRuntimeIdentifiers="linux-arm;linux-arm64;linux-musl-arm64;linux-musl-x64;linux-x64;osx-x64;rhel.6-x64;tizen.4.0.0-armel;tizen.5.0.0-armel;win-arm;win-arm64;win-x64;win-x86" TargetFramework="$(NetCoreAppCurrent)" - Condition="'@(KnownAppHostPack)' != '' and !@(KnownAppHostPack->AnyHaveMetadataValue('TargetFramework', '$(NetCoreAppCurrent)'))" /> + Condition="'@(KnownAppHostPack)' == '' or !@(KnownAppHostPack->AnyHaveMetadataValue('TargetFramework', '$(NetCoreAppCurrent)'))" /> <KnownCrossgen2Pack Include="$(SharedFrameworkName).Crossgen2" TargetFramework="$(NetCoreAppCurrent)" Crossgen2PackNamePattern="$(SharedFrameworkName).Crossgen2.**RID**" Crossgen2PackVersion="$(ProductVersion)" Crossgen2RuntimeIdentifiers="linux-musl-x64;linux-x64;win-x64" - Condition="'@(KnownCrossgen2Pack)' != '' and !@(KnownCrossgen2Pack->AnyHaveMetadataValue('TargetFramework', '$(NetCoreAppCurrent)'))" /> + Condition="'@(KnownCrossgen2Pack)' == '' or !@(KnownCrossgen2Pack->AnyHaveMetadataValue('TargetFramework', '$(NetCoreAppCurrent)'))" /> </ItemGroup> <!-- .NETCoreApp 2.x DisableImplicitAssemblyReferences support. --> |