Skip to content

Commit 5e9fd16

Browse files
committed
Merge in 'release/6.0' changes
2 parents 56c11f2 + beedfae commit 5e9fd16

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

eng/packaging.targets

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
'$(IsRIDSpecificProject)' != 'true' and
3535
'$(PreReleaseVersionLabel)' == 'servicing' and
3636
'$(GitHubRepositoryName)' != 'runtimelab'">false</GeneratePackageOnBuild>
37+
<!-- When in source-build we need to generate all packages when building for all configurations even in servicing. -->
38+
<GeneratePackageOnBuild Condition="!$(GeneratePackageOnBuild) and
39+
'$(BuildAllConfigurations)' == 'true' and
40+
'$(DotNetBuildFromSource)' == 'true'">true</GeneratePackageOnBuild>
3741
<!-- Search for the documentation file in the intellisense package and otherwise pick up the generated one. -->
3842
<LibIntellisenseDocumentationFilePath>$(XmlDocFileRoot)1033\$(AssemblyName).xml</LibIntellisenseDocumentationFilePath>
3943
<UseIntellisenseDocumentationFile Condition="'$(UseIntellisenseDocumentationFile)' == '' and Exists('$(LibIntellisenseDocumentationFilePath)')">true</UseIntellisenseDocumentationFile>
@@ -279,7 +283,7 @@
279283
</Target>
280284

281285
<Target Name="ValidateServicingVersionIsPropertlySet"
282-
Condition="'$(PreReleaseVersionLabel)' == 'servicing'"
286+
Condition="'$(PreReleaseVersionLabel)' == 'servicing' and '$(DotNetBuildFromSource)' != 'true'"
283287
AfterTargets="GenerateNuspec">
284288
<Error Condition="'$(ServicingVersion)' == '0'" Text="ServicingVersion is set to 0 and it should be an increment of the patch version from the last released package." />
285289
</Target>

0 commit comments

Comments
 (0)