File tree 7 files changed +30
-14
lines changed
Microsoft.DotNet.Arcade.Sdk/tools
Microsoft.DotNet.SignTool.Tests 7 files changed +30
-14
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Dependencies >
3
- <Source Uri =" https://github.com/dotnet/dotnet" Mapping =" arcade" Sha =" 5d437e96e412b189af05abb84753996de9aa698f " BarId =" 268047 " />
3
+ <Source Uri =" https://github.com/dotnet/dotnet" Mapping =" arcade" Sha =" ad8565092bbfdd5c8b4a94a718d10b2d394f7aee " BarId =" 268384 " />
4
4
<ProductDependencies >
5
5
</ProductDependencies >
6
6
<ToolsetDependencies >
162
162
<Uri >https://github.com/dotnet/dnceng</Uri >
163
163
<Sha >946ca0aa8f97d05328eab1f420c9791e77e22098</Sha >
164
164
</Dependency >
165
+ <!-- Dependencies required for source build to lift to the previously-source-built version. -->
166
+ <Dependency Name =" Microsoft.Build" Version =" 17.12.36" >
167
+ <Uri >https://github.com/dotnet/msbuild</Uri >
168
+ <Sha >d1cce8d7cc03c23a4f1bad8e9240714fd9d199a3</Sha >
169
+ </Dependency >
170
+ <Dependency Name =" Microsoft.Build.Framework" Version =" 17.12.36" >
171
+ <Uri >https://github.com/dotnet/msbuild</Uri >
172
+ <Sha >d1cce8d7cc03c23a4f1bad8e9240714fd9d199a3</Sha >
173
+ </Dependency >
174
+ <Dependency Name =" Microsoft.Build.Tasks.Core" Version =" 17.12.36" >
175
+ <Uri >https://github.com/dotnet/msbuild</Uri >
176
+ <Sha >d1cce8d7cc03c23a4f1bad8e9240714fd9d199a3</Sha >
177
+ </Dependency >
178
+ <Dependency Name =" Microsoft.Build.Utilities.Core" Version =" 17.12.36" >
179
+ <Uri >https://github.com/dotnet/msbuild</Uri >
180
+ <Sha >d1cce8d7cc03c23a4f1bad8e9240714fd9d199a3</Sha >
181
+ </Dependency >
165
182
</ToolsetDependencies >
166
183
</Dependencies >
Original file line number Diff line number Diff line change 35
35
<MicrosoftSymbolUploaderBuildTaskVersion >2.0.0-preview.1.23470.14</MicrosoftSymbolUploaderBuildTaskVersion >
36
36
<MicrosoftSymbolUploaderVersion >2.0.0-preview.1.23470.14</MicrosoftSymbolUploaderVersion >
37
37
<!-- msbuild -->
38
- <MicrosoftBuildFrameworkVersion >17.8.3 </MicrosoftBuildFrameworkVersion >
39
- <MicrosoftBuildTasksCoreVersion >17.8.3 </MicrosoftBuildTasksCoreVersion >
40
- <MicrosoftBuildUtilitiesCoreVersion >17.8.3 </MicrosoftBuildUtilitiesCoreVersion >
41
- <MicrosoftBuildVersion >17.8.3 </MicrosoftBuildVersion >
38
+ <MicrosoftBuildFrameworkVersion >17.12.36 </MicrosoftBuildFrameworkVersion >
39
+ <MicrosoftBuildTasksCoreVersion >17.12.36 </MicrosoftBuildTasksCoreVersion >
40
+ <MicrosoftBuildUtilitiesCoreVersion >17.12.36 </MicrosoftBuildUtilitiesCoreVersion >
41
+ <MicrosoftBuildVersion >17.12.36 </MicrosoftBuildVersion >
42
42
<!-- netstandard -->
43
43
<NETStandardLibraryVersion >2.0.3</NETStandardLibraryVersion >
44
44
<!-- nuget -->
Original file line number Diff line number Diff line change @@ -51,13 +51,12 @@ steps:
51
51
${{ coalesce(parameters.platform.buildScript, './build.sh') }} --ci \
52
52
--configuration $buildConfig \
53
53
--restore --build --pack -bl \
54
+ --source-build \
54
55
${{ parameters.platform.buildArguments }} \
55
56
$internalRuntimeDownloadArgs \
56
57
$targetRidArgs \
57
58
$baseRidArgs \
58
59
$portableBuildArgs \
59
- /p:DotNetBuildSourceOnly=true \
60
- /p:DotNetBuildRepo=true \
61
60
displayName : Build
62
61
63
62
- template : /eng/common/core-templates/steps/publish-pipeline-artifacts.yml
Original file line number Diff line number Diff line change @@ -68,8 +68,6 @@ $ErrorActionPreference = 'Stop'
68
68
# True if the build is a product build
69
69
[bool ]$productBuild = if (Test-Path variable:productBuild) { $productBuild } else { $false }
70
70
71
- [String []]$properties = if (Test-Path variable:properties) { $properties } else { @ () }
72
-
73
71
function Create-Directory ([string []] $path ) {
74
72
New-Item - Path $path - Force - ItemType ' Directory' | Out-Null
75
73
}
@@ -853,7 +851,7 @@ function MSBuild-Core() {
853
851
854
852
# When running on Azure Pipelines, override the returned exit code to avoid double logging.
855
853
# Skip this when the build is a child of the VMR orchestrator build.
856
- if ($ci -and $env: SYSTEM_TEAMPROJECT -ne $null -and ! $productBuild -and -not ( $properties -like " *DotNetBuildRepo=true* " ) ) {
854
+ if ($ci -and $env: SYSTEM_TEAMPROJECT -ne $null -and ! $productBuild ) {
857
855
Write-PipelineSetResult - Result " Failed" - Message " msbuild execution failed."
858
856
# Exiting with an exit code causes the azure pipelines task to log yet another "noise" error
859
857
# The above Write-PipelineSetResult will cause the task to be marked as failure without adding yet another error
Original file line number Diff line number Diff line change @@ -507,7 +507,7 @@ function MSBuild-Core {
507
507
508
508
# When running on Azure Pipelines, override the returned exit code to avoid double logging.
509
509
# Skip this when the build is a child of the VMR orchestrator build.
510
- if [[ " $ci " == true && -n ${SYSTEM_TEAMPROJECT:- } && " $product_build " != true && " $properties " != * " DotNetBuildRepo=true " * ]]; then
510
+ if [[ " $ci " == true && -n ${SYSTEM_TEAMPROJECT:- } && " $product_build " != true ]]; then
511
511
Write-PipelineSetResult -result " Failed" -message " msbuild execution failed."
512
512
# Exiting with an exit code causes the azure pipelines task to log yet another "noise" error
513
513
# The above Write-PipelineSetResult will cause the task to be marked as failure without adding yet another error
Original file line number Diff line number Diff line change 40
40
<PropertyGroup >
41
41
<!-- Don't restore the below nuget packages, repo tools and additional global.json runtimes when building source-only. -->
42
42
<_ImportOrUseTooling Condition =" '$(_ImportOrUseTooling)' == '' and '$(DotNetBuildSourceOnly)' != 'true'" >true</_ImportOrUseTooling >
43
+ <RestoreBuildTaskFeed >$(Publish)</RestoreBuildTaskFeed >
43
44
</PropertyGroup >
44
45
45
46
<ItemGroup Condition =" '$(_ImportOrUseTooling)' == 'true'" >
56
57
<PackageReference Include =" Microsoft.DotNet.Build.Tasks.VisualStudio" Version =" $(MicrosoftDotNetBuildTasksVisualStudioVersion)" Condition =" '$(UsingToolVSSDK)' == 'true'" IsImplicitlyDefined =" true" />
57
58
</ItemGroup >
58
59
59
- <!-- Unlike the items above, we should restore M.D.B.T.F in source build scenarios since it's used in the inner build. -->
60
- <ItemGroup >
60
+ <!-- Unlike the items above, we should restore M.D.B.T.F in source build scenarios.
61
+ Only reference this if publishing is enabled as that is the only scenario where the targets file which this package
62
+ provides is being imported (from Publish.proj). -->
63
+ <ItemGroup Condition =" '$(RestoreBuildTaskFeed)' == 'true'" >
61
64
<PackageReference Include =" Microsoft.DotNet.Build.Tasks.Feed" Version =" $(MicrosoftDotNetBuildTasksFeedVersion)" IsImplicitlyDefined =" true" />
62
65
</ItemGroup >
63
66
Original file line number Diff line number Diff line change 4
4
using System ;
5
5
using System . Diagnostics ;
6
6
using System . IO ;
7
- using System . IO . Packaging ;
8
7
using Microsoft . Build . Framework ;
9
8
using Microsoft . Build . Utilities ;
10
9
using System . Collections . Generic ;
You can’t perform that action at this time.
0 commit comments