Skip to content

Commit e8ab6fb

Browse files
committed
Adding conditional versions back again.
1 parent c53e6dc commit e8ab6fb

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

eng/Versions.props

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,20 @@
280280
<MicrosoftSourceLinkGitLabVersion>9.0.0-beta.25070.1</MicrosoftSourceLinkGitLabVersion>
281281
<MicrosoftSourceLinkBitbucketGitVersion>9.0.0-beta.25070.1</MicrosoftSourceLinkBitbucketGitVersion>
282282
</PropertyGroup>
283-
<PropertyGroup>
283+
<!--
284+
Dependencies to support netstandard2.0 targets.
285+
Versions need to be conditionally selected: due to https://github.com/dotnet/sdk/issues/45155
286+
-->
287+
<PropertyGroup Condition="'$(DotNetBuildSourceOnly)' == 'true'">
284288
<SystemBuffersVersion>4.6.0</SystemBuffersVersion>
285289
<SystemMemoryVersion>4.6.0</SystemMemoryVersion>
286290
<SystemThreadingTasksExtensionsVersion>4.6.0</SystemThreadingTasksExtensionsVersion>
287291
</PropertyGroup>
292+
<PropertyGroup Condition="'$(DotNetBuildSourceOnly)' != 'true'">
293+
<SystemBuffersVersion>4.5.1</SystemBuffersVersion>
294+
<SystemMemoryVersion>4.5.5</SystemMemoryVersion>
295+
<SystemThreadingTasksExtensionsVersion>4.5.4</SystemThreadingTasksExtensionsVersion>
296+
</PropertyGroup>
288297
<!-- Get .NET Framework reference assemblies from NuGet packages -->
289298
<PropertyGroup>
290299
<UsingToolNetFrameworkReferenceAssemblies>true</UsingToolNetFrameworkReferenceAssemblies>

0 commit comments

Comments
 (0)