Skip to content

Commit 88d210d

Browse files
authored
Flag netstandard1.x dependencies in source-build (#14986)
1 parent 270d144 commit 88d210d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

eng/Versions.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
<UsingToolXliff>true</UsingToolXliff>
2222
<!-- Opt-in to Arcade tools for building VSIX projects. -->
2323
<UsingToolVSSDK>true</UsingToolVSSDK>
24+
<!-- Don't allow netstandard1.x dependencies when building from source in this repository. -->
25+
<FlagNetStandard1XDependencies Condition="'$(DotNetBuildSourceOnly)' == 'true'">true</FlagNetStandard1XDependencies>
2426
</PropertyGroup>
2527
<PropertyGroup Label="VSTest dependencies">
2628
<CoverletCoverageVersion>1.2.0</CoverletCoverageVersion>
@@ -32,7 +34,7 @@
3234
3335
Could not load file or assembly 'Microsoft.Build.Utilities.Core...
3436
-->
35-
<!--
37+
<!--
3638
Lot of these versions are not the latest present on nuget.org, we need to use versions that are present in SourceBuild to
3739
avoid introducing pre-builts. https://github.com/dotnet/source-build-reference-packages/tree/main/src/referencePackages/src
3840
-->

0 commit comments

Comments
 (0)