File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
src/SourceBuild/content/eng Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 42
42
<NewtonsoftJsonVersion >13.0.3</NewtonsoftJsonVersion >
43
43
<OctokitVersion >10.0.0</OctokitVersion >
44
44
</PropertyGroup >
45
+
46
+ <PropertyGroup >
47
+ <PreviouslySourceBuiltPackageVersionsPropsFile >$(PreviouslySourceBuiltPackagesPath)PackageVersions.props</PreviouslySourceBuiltPackageVersionsPropsFile >
48
+ </PropertyGroup >
49
+
50
+ <!-- For source only builds, override the version props with previously built artifacts.
51
+ If a version should be pinned, declare it after this import. -->
52
+ <Import Project =" $(PreviouslySourceBuiltPackageVersionsPropsFile)"
53
+ Condition =" Exists('$(PreviouslySourceBuiltPackageVersionsPropsFile)') and '$(DotNetBuildSourceOnly)' == 'true'" />
45
54
</Project >
Original file line number Diff line number Diff line change 5
5
<!-- Don't use these feeds when testing. Projects under this directory are referenced by
6
6
test projects. This makes sure that the feeds aren't used. -->
7
7
<PropertyGroup >
8
- <RestoreSources Condition =" '$(DotNetBuildSourceOnly)' == 'true' and '$(Test)' != 'true'" >$(PreviouslySourceBuiltReferencePackagesDir);$( PrebuiltPackagesPath);$(PreviouslySourceBuiltPackagesPath)</RestoreSources >
8
+ <RestoreSources Condition =" '$(DotNetBuildSourceOnly)' == 'true' and '$(Test)' != 'true'" >$(PrebuiltPackagesPath);$(PreviouslySourceBuiltPackagesPath)</RestoreSources >
9
9
</PropertyGroup >
10
10
11
11
</Project >
You can’t perform that action at this time.
0 commit comments