Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
735d20b
Update dependencies from https://github.com/dotnet/dotnet build 266496
dotnet-maestro[bot] May 1, 2025
2d7944d
[VMR] Codeflow c174aba-c174aba
dotnet-maestro[bot] May 2, 2025
a068691
Update dependencies from https://github.com/dotnet/dotnet build 266608
dotnet-maestro[bot] May 2, 2025
e6084e5
Update dependencies from https://github.com/dotnet/dotnet build 266652
dotnet-maestro[bot] May 3, 2025
c4f73f4
Merging main into darc-main-c09e8f96-e524-4c55-85bf-748e67762bad
dotnet-maestro[bot] May 6, 2025
4d10af5
Update dependencies from https://github.com/dotnet/dotnet build 266849
dotnet-maestro[bot] May 6, 2025
f854cfb
[VMR] Codeflow 8a951ad-8a951ad
dotnet-maestro[bot] May 7, 2025
5be5617
Merging main into darc-main-c09e8f96-e524-4c55-85bf-748e67762bad
dotnet-maestro[bot] May 7, 2025
8310f18
Update dependencies from https://github.com/dotnet/dotnet build 267041
dotnet-maestro[bot] May 7, 2025
b998406
Update dependencies from https://github.com/dotnet/dotnet build 267208
dotnet-maestro[bot] May 8, 2025
368ea40
[VMR] Codeflow aebf15d-aebf15d
dotnet-maestro[bot] May 8, 2025
e9e3f58
Update dependencies from https://github.com/dotnet/dotnet build 267468
dotnet-maestro[bot] May 8, 2025
b6587bd
Update dependencies from https://github.com/dotnet/dotnet build 267684
dotnet-maestro[bot] May 9, 2025
a4d1de6
Update dependencies from https://github.com/dotnet/dotnet build 267725
dotnet-maestro[bot] May 10, 2025
2c17dff
Update dependencies from https://github.com/dotnet/dotnet build 267756
dotnet-maestro[bot] May 10, 2025
f18d547
Update dependencies from https://github.com/dotnet/dotnet build 267776
dotnet-maestro[bot] May 11, 2025
e9c61d0
[VMR] Codeflow 3a08702-3a08702
dotnet-maestro[bot] May 14, 2025
7b4f162
Update dependencies from https://github.com/dotnet/dotnet build 268047
dotnet-maestro[bot] May 14, 2025
bb1f555
Merging main into darc-main-c09e8f96-e524-4c55-85bf-748e67762bad
dotnet-maestro[bot] May 15, 2025
51e714a
Update dependencies from https://github.com/dotnet/dotnet build 268099
dotnet-maestro[bot] May 15, 2025
a2bfd7a
[VMR] Codeflow 362a422-ad85650
dotnet-maestro[bot] May 15, 2025
9a02e0b
Update dependencies from https://github.com/dotnet/dotnet build 268384
dotnet-maestro[bot] May 15, 2025
a0229d7
[VMR] Codeflow a3c354f-a3c354f
dotnet-maestro[bot] May 17, 2025
01e17b8
Update dependencies from https://github.com/dotnet/dotnet build 268651
dotnet-maestro[bot] May 17, 2025
e99a6b8
Merge branch 'main' into darc-main-c09e8f96-e524-4c55-85bf-748e67762bad
akoeplinger May 19, 2025
a84af09
Update dependencies from https://github.com/dotnet/dotnet build 268722
dotnet-maestro[bot] May 19, 2025
876a313
[VMR] Codeflow ce653de-ce653de
dotnet-maestro[bot] May 21, 2025
a66f1af
Merging main into darc-main-c09e8f96-e524-4c55-85bf-748e67762bad
dotnet-maestro[bot] May 21, 2025
1f426ba
Update dependencies from https://github.com/dotnet/dotnet build 268973
dotnet-maestro[bot] May 21, 2025
8c062db
[VMR] Codeflow d60c3fe-a4d6fdc
dotnet-maestro[bot] May 22, 2025
3c55806
Merging main into darc-main-c09e8f96-e524-4c55-85bf-748e67762bad
dotnet-maestro[bot] May 22, 2025
e56da77
Update dependencies from https://github.com/dotnet/dotnet build 269082
dotnet-maestro[bot] May 22, 2025
afd4356
[VMR] Codeflow 2650c60-2650c60
dotnet-maestro[bot] May 23, 2025
83b8e0d
Update dependencies from https://github.com/dotnet/dotnet build 269352
dotnet-maestro[bot] May 23, 2025
e3fb2d0
Add Microsoft.NETCore.App.Ref node to versions file
hoyosjs May 23, 2025
8af2174
Fix compilation from new analyzers
hoyosjs May 23, 2025
6d3ec58
Update dependencies from https://github.com/dotnet/dotnet build 269418
dotnet-maestro[bot] May 24, 2025
fbf69ab
[VMR] Codeflow 84b028b-84b028b
dotnet-maestro[bot] May 25, 2025
885e4c5
Update dependencies from https://github.com/dotnet/dotnet build 269499
dotnet-maestro[bot] May 25, 2025
fc7fd61
[VMR] Codeflow 5996972-5996972
dotnet-maestro[bot] May 27, 2025
ed4644f
Merging main into darc-main-c09e8f96-e524-4c55-85bf-748e67762bad
dotnet-maestro[bot] May 27, 2025
e47fbc2
Update dependencies from https://github.com/dotnet/dotnet build 269610
dotnet-maestro[bot] May 27, 2025
f82b3b7
Disable dcd test
hoyosjs May 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@
# have proper ownership.
/src/ @dotnet/dotnet-diag
/documentation/ @dotnet/dotnet-diag
/eng/DotNetBuild.props @dotnet/product-construction
9 changes: 5 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project>
<PropertyGroup>
<ContinuousIntegrationBuild Condition="'$(OfficialBuildId)' != ''">true</ContinuousIntegrationBuild>
<PublishWindowsPdb>false</PublishWindowsPdb>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -17,16 +18,16 @@
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<EnableSourceControlManagerQueries>true</EnableSourceControlManagerQueries>
<GitHubRepositoryName>diagnostics</GitHubRepositoryName>
<RepositoryName>diagnostics</RepositoryName>
</PropertyGroup>

<PropertyGroup>
<DesktopTargetFramework>net462</DesktopTargetFramework>
<!--
This represents the minimum supported .NET Version, so the min version that the tools must
<!--
This represents the minimum supported .NET Version, so the min version that the tools must
be able to run against for a simple customer experience.

When bumping this, bump __targetRid in build.sh/build-native.cmd and modify the
When bumping this, bump __targetRid in build.sh/build-native.cmd and modify the
Debugger.Tests.Configs to reflect the new TFMs
-->
<NetCoreAppMinVersion>8.0</NetCoreAppMinVersion>
Expand Down
1 change: 1 addition & 0 deletions eng/Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<Project>

<!-- Only build the NETCore.Client library in .NET product build mode. -->
<ItemGroup Condition="'$(DotNetBuild)' == 'true'">
<ProjectToBuild Include="$(RepoRoot)src/Microsoft.Diagnostics.NETCore.Client/Microsoft.Diagnostics.NETCore.Client.csproj" />
</ItemGroup>
Expand Down
5 changes: 5 additions & 0 deletions eng/CodeAnalysis.src.globalconfig
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,11 @@ dotnet_diagnostic.CA2020.severity = warning

# CA2021: Do not call Enumerable.Cast<T> or Enumerable.OfType<T> with incompatible types
dotnet_diagnostic.CA2021.severity = warning

# CA2025: Ensure tasks using 'IDisposable' instances complete before the instances are disposed
# This is having a fair bit of false positives - downgrade to suggestion.
dotnet_diagnostic.CA2025.severity = suggestion

# CA2100: Review SQL queries for security vulnerabilities
dotnet_diagnostic.CA2100.severity = none

Expand Down
9 changes: 0 additions & 9 deletions eng/DotNetBuild.props

This file was deleted.

54 changes: 29 additions & 25 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Dependencies>
<Source Uri="https://github.com/dotnet/dotnet" Mapping="diagnostics" Sha="78c5fa9a48d469a19ab5a61c16c955c1f370b5be" BarId="266331" />
<Source Uri="https://github.com/dotnet/dotnet" Mapping="diagnostics" Sha="f5705c8f4c5079bba77bae8698ba1583bde0388c" BarId="269610" />
<ProductDependencies>
<Dependency Name="Microsoft.Diagnostics.Runtime" Version="4.0.0-beta.25261.1">
<Uri>https://github.com/microsoft/clrmd</Uri>
Expand All @@ -11,49 +11,53 @@
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25229.109">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="10.0.0-beta.25276.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>78c5fa9a48d469a19ab5a61c16c955c1f370b5be</Sha>
<Sha>f5705c8f4c5079bba77bae8698ba1583bde0388c</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="10.0.0-beta.25229.109">
<Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="10.0.0-beta.25276.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>78c5fa9a48d469a19ab5a61c16c955c1f370b5be</Sha>
<Sha>f5705c8f4c5079bba77bae8698ba1583bde0388c</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="7.0.0-beta.22316.2" Pinned="true">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>ccfe6da198c5f05534863bbb1bff66e830e0c6ab</Sha>
</Dependency>
<Dependency Name="Microsoft.NET.Sdk" Version="10.0.100-preview.5.25229.109">
<Dependency Name="Microsoft.NET.Sdk" Version="10.0.100-preview.6.25276.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>78c5fa9a48d469a19ab5a61c16c955c1f370b5be</Sha>
<Sha>f5705c8f4c5079bba77bae8698ba1583bde0388c</Sha>
</Dependency>
<Dependency Name="Microsoft.AspNetCore.App.Ref.Internal" Version="10.0.0-preview.5.25229.109">
<Dependency Name="Microsoft.AspNetCore.App.Ref.Internal" Version="10.0.0-preview.6.25276.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>78c5fa9a48d469a19ab5a61c16c955c1f370b5be</Sha>
<Sha>f5705c8f4c5079bba77bae8698ba1583bde0388c</Sha>
</Dependency>
<Dependency Name="Microsoft.AspNetCore.App.Ref" Version="10.0.0-preview.5.25229.109">
<Dependency Name="Microsoft.AspNetCore.App.Ref" Version="10.0.0-preview.6.25276.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>78c5fa9a48d469a19ab5a61c16c955c1f370b5be</Sha>
<Sha>f5705c8f4c5079bba77bae8698ba1583bde0388c</Sha>
</Dependency>
<Dependency Name="Microsoft.NETCore.Platforms" Version="10.0.0-preview.5.25229.109">
<Dependency Name="Microsoft.NETCore.App.Ref" Version="10.0.0-preview.6.25276.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>78c5fa9a48d469a19ab5a61c16c955c1f370b5be</Sha>
<Sha>f5705c8f4c5079bba77bae8698ba1583bde0388c</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis" Version="4.11.0-2.24271.11">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>40e6b96cad11400acb5b8999057ac8ba748df940</Sha>
<Dependency Name="Microsoft.NETCore.Platforms" Version="10.0.0-preview.6.25276.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>f5705c8f4c5079bba77bae8698ba1583bde0388c</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis" Version="5.0.0-1.25276.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>f5705c8f4c5079bba77bae8698ba1583bde0388c</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="4.11.0-2.24271.11">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>40e6b96cad11400acb5b8999057ac8ba748df940</Sha>
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="5.0.0-1.25276.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>f5705c8f4c5079bba77bae8698ba1583bde0388c</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="3.12.0-beta1.24605.1">
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
<Sha>7f449a5d6f05c6aed77e4abf85aac2ce19f6a2d6</Sha>
<Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="5.0.0-1.25276.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>f5705c8f4c5079bba77bae8698ba1583bde0388c</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.0-preview.24605.1">
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
<Sha>7f449a5d6f05c6aed77e4abf85aac2ce19f6a2d6</Sha>
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="10.0.0-preview.25276.103">
<Uri>https://github.com/dotnet/dotnet</Uri>
<Sha>f5705c8f4c5079bba77bae8698ba1583bde0388c</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
23 changes: 13 additions & 10 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@
</PropertyGroup>
<PropertyGroup>
<!-- Latest shared runtime version updated by darc -->
<MicrosoftNETCorePlatformsVersion>10.0.0-preview.5.25229.109</MicrosoftNETCorePlatformsVersion>
<MicrosoftNETCoreAppRefVersion>10.0.0-preview.5.25229.109</MicrosoftNETCoreAppRefVersion>
<!-- We use platforms for the unstable package version and
the ref pack as the stable version. We need them as download links
use the unstable version, but the installed assets are all stable. -->
<MicrosoftNETCorePlatformsVersion>10.0.0-preview.6.25276.103</MicrosoftNETCorePlatformsVersion>
<MicrosoftNETCoreAppRefVersion>10.0.0-preview.6.25276.103</MicrosoftNETCoreAppRefVersion>
<!-- Latest shared aspnetcore version updated by darc -->
<MicrosoftAspNetCoreAppRefInternalVersion>10.0.0-preview.5.25229.109</MicrosoftAspNetCoreAppRefInternalVersion>
<MicrosoftAspNetCoreAppRefVersion>10.0.0-preview.5.25229.109</MicrosoftAspNetCoreAppRefVersion>
<MicrosoftAspNetCoreAppRefInternalVersion>10.0.0-preview.6.25276.103</MicrosoftAspNetCoreAppRefInternalVersion>
<MicrosoftAspNetCoreAppRefVersion>10.0.0-preview.6.25276.103</MicrosoftAspNetCoreAppRefVersion>
<!-- dotnet/installer: Testing version of the SDK. Needed for the signed & entitled host. -->
<MicrosoftNETSdkVersion>10.0.100-preview.5.25229.109</MicrosoftNETSdkVersion>
<MicrosoftNETSdkVersion>10.0.100-preview.6.25276.103</MicrosoftNETSdkVersion>
</PropertyGroup>
<PropertyGroup>
<!-- Opt-in/out repo features -->
Expand Down Expand Up @@ -55,7 +58,7 @@
<SystemTextEncodingsWebVersion>8.0.0</SystemTextEncodingsWebVersion>
<SystemTextJsonVersion>8.0.5</SystemTextJsonVersion>
<XUnitAbstractionsVersion>2.0.3</XUnitAbstractionsVersion>
<MicrosoftDotNetCodeAnalysisVersion>10.0.0-beta.25229.109</MicrosoftDotNetCodeAnalysisVersion>
<MicrosoftDotNetCodeAnalysisVersion>10.0.0-beta.25276.103</MicrosoftDotNetCodeAnalysisVersion>
<StyleCopAnalyzersVersion>1.2.0-beta.556</StyleCopAnalyzersVersion>
<MicrosoftDotNetRemoteExecutorVersion>7.0.0-beta.22316.2</MicrosoftDotNetRemoteExecutorVersion>
<cdbsosversion>10.0.26100.1</cdbsosversion>
Expand All @@ -68,8 +71,8 @@
Any tools that contribute to the design-time experience should use the MicrosoftCodeAnalysisVersion_LatestVS property above to ensure
they do not break the local dev experience.
-->
<MicrosoftCodeAnalysisCSharpVersion>4.11.0-2.24271.11</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftCodeAnalysisVersion>4.11.0-2.24271.11</MicrosoftCodeAnalysisVersion>
<MicrosoftCodeAnalysisCSharpVersion>5.0.0-1.25276.103</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftCodeAnalysisVersion>5.0.0-1.25276.103</MicrosoftCodeAnalysisVersion>
<MicrosoftNetCompilersToolsetVersion>4.11.0-2.24271.11</MicrosoftNetCompilersToolsetVersion>
<!-- Compatibility with VS 16.11/.NET SDK 5.0.4xx -->
<MicrosoftCodeAnalysisVersion_3_11>3.11.0</MicrosoftCodeAnalysisVersion_3_11>
Expand All @@ -83,8 +86,8 @@
<MicrosoftCodeAnalysisVersion_4_4>4.4.0</MicrosoftCodeAnalysisVersion_4_4>
<MicrosoftCodeAnalysisVersion_LatestVS>4.8.0</MicrosoftCodeAnalysisVersion_LatestVS>
<MicrosoftCodeAnalysisVersion_LatestVS Condition="'$(DotNetBuildSourceOnly)' == 'true'">$(MicrosoftCodeAnalysisVersion)</MicrosoftCodeAnalysisVersion_LatestVS>
<MicrosoftCodeAnalysisAnalyzersVersion>3.12.0-beta1.24605.1</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>10.0.0-preview.24605.1</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisAnalyzersVersion>5.0.0-1.25276.103</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>10.0.0-preview.25276.103</MicrosoftCodeAnalysisNetAnalyzersVersion>
<!--
These packages affect the design-time experience in VS, so we update them at the same cadance as the MicrosoftCodeAnalysisVersion_LatestVS version.
-->
Expand Down
5 changes: 4 additions & 1 deletion eng/common/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Param(
[switch] $publish,
[switch] $clean,
[switch][Alias('pb')]$productBuild,
[switch]$fromVMR,
[switch][Alias('bl')]$binaryLog,
[switch][Alias('nobl')]$excludeCIBinarylog,
[switch] $ci,
Expand Down Expand Up @@ -74,6 +75,7 @@ function Print-Usage() {
Write-Host " -nativeToolsOnMachine Sets the native tools on machine environment variable (indicating that the script should use native tools on machine)"
Write-Host " -nodeReuse <value> Sets nodereuse msbuild parameter ('true' or 'false')"
Write-Host " -buildCheck Sets /check msbuild parameter"
Write-Host " -fromVMR Set when building from within the VMR"
Write-Host ""

Write-Host "Command line arguments not listed above are passed thru to msbuild."
Expand Down Expand Up @@ -127,7 +129,8 @@ function Build {
/p:Deploy=$deploy `
/p:Test=$test `
/p:Pack=$pack `
/p:DotNetBuildRepo=$productBuild `
/p:DotNetBuild=$productBuild `
/p:DotNetBuildFromVMR=$fromVMR `
/p:IntegrationTest=$integrationTest `
/p:PerformanceTest=$performanceTest `
/p:Sign=$sign `
Expand Down
20 changes: 13 additions & 7 deletions eng/common/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ usage()
echo " --nodeReuse <value> Sets nodereuse msbuild parameter ('true' or 'false')"
echo " --warnAsError <value> Sets warnaserror msbuild parameter ('true' or 'false')"
echo " --buildCheck <value> Sets /check msbuild parameter"
echo " --fromVMR Set when building from within the VMR"
echo ""
echo "Command line arguments not listed above are passed thru to msbuild."
echo "Arguments can also be passed in with a single hyphen."
Expand All @@ -64,6 +65,7 @@ restore=false
build=false
source_build=false
product_build=false
from_vmr=false
rebuild=false
test=false
integration_test=false
Expand All @@ -89,7 +91,7 @@ verbosity='minimal'
runtime_source_feed=''
runtime_source_feed_key=''

properties=''
properties=()
while [[ $# > 0 ]]; do
opt="$(echo "${1/#--/-}" | tr "[:upper:]" "[:lower:]")"
case "$opt" in
Expand Down Expand Up @@ -129,19 +131,22 @@ while [[ $# > 0 ]]; do
-pack)
pack=true
;;
-sourcebuild|-sb)
-sourcebuild|-source-build|-sb)
build=true
source_build=true
product_build=true
restore=true
pack=true
;;
-productBuild|-pb)
-productbuild|-product-build|-pb)
build=true
product_build=true
restore=true
pack=true
;;
-fromvmr|-from-vmr)
from_vmr=true
;;
-test|-t)
test=true
;;
Expand Down Expand Up @@ -187,7 +192,7 @@ while [[ $# > 0 ]]; do
shift
;;
*)
properties="$properties $1"
properties+=("$1")
;;
esac

Expand Down Expand Up @@ -221,7 +226,7 @@ function Build {
InitializeCustomToolset

if [[ ! -z "$projects" ]]; then
properties="$properties /p:Projects=$projects"
properties+=("/p:Projects=$projects")
fi

local bl=""
Expand All @@ -241,8 +246,9 @@ function Build {
/p:RepoRoot="$repo_root" \
/p:Restore=$restore \
/p:Build=$build \
/p:DotNetBuildRepo=$product_build \
/p:DotNetBuild=$product_build \
/p:DotNetBuildSourceOnly=$source_build \
/p:DotNetBuildFromVMR=$from_vmr \
/p:Rebuild=$rebuild \
/p:Test=$test \
/p:Pack=$pack \
Expand All @@ -251,7 +257,7 @@ function Build {
/p:Sign=$sign \
/p:Publish=$publish \
/p:RestoreStaticGraphEnableBinaryLogger=$binary_log \
$properties
"${properties[@]}"

ExitWithExitCode 0
}
Expand Down
2 changes: 1 addition & 1 deletion eng/common/core-templates/jobs/source-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ parameters:
# This is the default platform provided by Arcade, intended for use by a managed-only repo.
defaultManagedPlatform:
name: 'Managed'
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream9'
container: 'mcr.microsoft.com/dotnet-buildtools/prereqs:centos-stream-10-amd64'

# Defines the platforms on which to run build jobs. One job is created for each platform, and the
# object in this array is sent to the job template as 'platform'. If no platforms are specified,
Expand Down
3 changes: 0 additions & 3 deletions eng/common/core-templates/post-build/post-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,6 @@ stages:
buildId: $(AzDOBuildId)
artifactName: PackageArtifacts
checkDownloadedFiles: true
itemPattern: |
**
!**/Microsoft.SourceBuild.Intermediate.*.nupkg

# This is necessary whenever we want to publish/restore to an AzDO private feed
# Since sdk-task.ps1 tries to restore packages we need to do this authentication here
Expand Down
35 changes: 0 additions & 35 deletions eng/common/core-templates/steps/install-microbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,38 +48,3 @@ steps:
eq(variables['_SignType'], 'real')
)
))

# Workaround for ESRP CLI on Linux - https://github.com/dotnet/source-build/issues/4964
- ${{ if eq(parameters.enableMicrobuildForMacAndLinux, 'true') }}:
- task: UseDotNet@2
displayName: Install .NET 9.0 SDK for ESRP CLI Workaround
inputs:
packageType: sdk
version: 9.0.x
installationPath: ${{ parameters.microBuildOutputFolder }}/.dotnet
workingDirectory: ${{ parameters.microBuildOutputFolder }}
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))

- task: PowerShell@2
displayName: Workaround for ESRP CLI on Linux
inputs:
targetType: 'inline'
script: |
Write-Host "Copying Linux Path"
$MBSIGN_APPFOLDER = '$(MBSIGN_APPFOLDER)'
$MBSIGN_APPFOLDER = ($MBSIGN_APPFOLDER -replace '/build', '')

$versionRegex = '\d+\.\d+\.\d+'
$package = Get-ChildItem -Path $MBSIGN_APPFOLDER -Directory |
Where-Object { $_.Name -match $versionRegex }

if ($package.Count -ne 1) {
Write-Host "There should be exactly one matching subfolder, but found $($package.Count)."
exit 1
}

$MBSIGN_APPFOLDER = $package[0].FullName + '/build'
$MBSIGN_APPFOLDER | Write-Host
$SignConfigPath = $MBSIGN_APPFOLDER + '/signconfig.xml'
Copy-Item -Path "$(MBSIGN_APPFOLDER)/signconfig.xml" -Destination $SignConfigPath -Force
condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux'))
Loading