Sitelet https://github.com/microsoft/vstest/commit/d90241c90b4377346f617388f276cc1cb60cfe84
Skip to content

Commit d90241c

Browse files
nohwndCopilot
andcommitted
Guard Portable net462 SCI copy so it only runs when SCI package is restored
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5fc0474 commit d90241c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/package/Microsoft.TestPlatform.Portable/Microsoft.TestPlatform.Portable.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<SystemCollectionsImmutable Include="$(PkgSystem_Collections_Immutable)\lib\netstandard2.0\*" />
8989
<!-- See note in Microsoft.TestPlatform.csproj: ship net462 SCI (AV 9.0.0.11) alongside Common.dll
9090
at the package root, while keeping netstandard2.0 (9.0.0.0) in nested Extensions subfolders. -->
91-
<SystemCollectionsImmutableNet462 Include="$(PkgSystem_Collections_Immutable)\lib\net462\System.Collections.Immutable.dll" />
91+
<SystemCollectionsImmutableNet462 Include="$(PkgSystem_Collections_Immutable)\lib\net462\System.Collections.Immutable.dll" Condition="'$(PkgSystem_Collections_Immutable)' != ''" />
9292
<SystemReflectionMetadata Include="$(PkgSystem_Reflection_Metadata)\lib\netstandard2.0\*" />
9393
<MicrosoftInternalDia Include="$(PkgMicrosoft_Internal_Dia)\tools\net451\**\*" />
9494
</ItemGroup>

0 commit comments

Comments
 (0)