From 7712e7cb0179daa58c64ee735b4aebea1cf3d6f4 Mon Sep 17 00:00:00 2001 From: Manodasan Wignarajah Date: Tue, 15 Nov 2022 14:08:19 -0800 Subject: [PATCH] Use dotnet 6 before signing (#1274) * Use dotnet 6 before signing * fix indenting --- .../CsWinRT-PublishToNuget-Stage.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build/AzurePipelineTemplates/CsWinRT-PublishToNuget-Stage.yml b/build/AzurePipelineTemplates/CsWinRT-PublishToNuget-Stage.yml index 32af5e1d0..092abf210 100644 --- a/build/AzurePipelineTemplates/CsWinRT-PublishToNuget-Stage.yml +++ b/build/AzurePipelineTemplates/CsWinRT-PublishToNuget-Stage.yml @@ -17,6 +17,12 @@ stages: inputs: versionSpec: 5.3 +# Use .NET Core SDK 6 + - task: UseDotNet@2 + displayName: Use .NET Core SDK 6 + inputs: + version: 6.x + # Component Detection - task: ComponentGovernanceComponentDetection@0 displayName: Component Detection @@ -272,4 +278,4 @@ stages: SearchPattern: '**/*.pdb' IndexSources: false SymbolServerType: TeamServices - SymbolsProduct: C#/WinRT \ No newline at end of file + SymbolsProduct: C#/WinRT