From 684a2c8116065ee61236e238e2a8c375089f2c78 Mon Sep 17 00:00:00 2001 From: Min Huang Date: Wed, 28 Sep 2022 15:00:44 +0800 Subject: [PATCH 01/11] domain rebrand --- Mdoc-ReleaseCheckCI.yml | 2 +- README.md | 2 +- azure-pipelines.lgtm.yml | 2 +- azure-pipelines.yml | 2 +- .../Util/AttachedEntitiesHelper.cs | 166 +++++++++--------- .../AttachedEventExample.cs | 2 +- .../AttachedPropertyExample.cs | 2 +- 7 files changed, 89 insertions(+), 89 deletions(-) diff --git a/Mdoc-ReleaseCheckCI.yml b/Mdoc-ReleaseCheckCI.yml index 8b0be5f44..5cc209c5f 100644 --- a/Mdoc-ReleaseCheckCI.yml +++ b/Mdoc-ReleaseCheckCI.yml @@ -9,7 +9,7 @@ pr: # Variable 'needRunReleaseMdoc' was defined in the Variables tab # Variable 'params' was defined in the Variables tab -# Agent Queue 'Azure Pipelines' was used with unrecognized Agent Specification, vmImage property must be specified to determine image - https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software +# Agent Queue 'Azure Pipelines' was used with unrecognized Agent Specification, vmImage property must be specified to determine image - https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software variables: solution: 'apidoctools.sln' buildConfiguration: 'Release' diff --git a/README.md b/README.md index b6ee05cb7..07110cd92 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # `mdoc` This repository contains the source for the .NET API Reference toolchain ([used - by docs.microsoft.com](https://docs.microsoft.com/en-us/teamblog/announcing-unified-dotnet-experience-on-docs#built-with-open-source-in-mind)) + by learn.microsoft.com](https://learn.microsoft.com/en-us/teamblog/announcing-unified-dotnet-experience-on-docs#built-with-open-source-in-mind)) ## Contribution Guide diff --git a/azure-pipelines.lgtm.yml b/azure-pipelines.lgtm.yml index dc8522526..4207d6315 100644 --- a/azure-pipelines.lgtm.yml +++ b/azure-pipelines.lgtm.yml @@ -1,7 +1,7 @@ # ASP.NET Core (.NET Framework) # Build and test ASP.NET Core projects targeting the full .NET Framework. # Add steps that publish symbols, save build artifacts, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core +# https://learn.microsoft.com/azure/devops/pipelines/languages/dotnet-core pr: none trigger: none diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a43218b98..6cf4ff608 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,7 +1,7 @@ # ASP.NET Core (.NET Framework) # Build and test ASP.NET Core projects targeting the full .NET Framework. # Add steps that publish symbols, save build artifacts, and more: -# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core +# https://learn.microsoft.com/azure/devops/pipelines/languages/dotnet-core trigger: - '*' diff --git a/mdoc/Mono.Documentation/Util/AttachedEntitiesHelper.cs b/mdoc/Mono.Documentation/Util/AttachedEntitiesHelper.cs index d8bb3970e..d85989780 100644 --- a/mdoc/Mono.Documentation/Util/AttachedEntitiesHelper.cs +++ b/mdoc/Mono.Documentation/Util/AttachedEntitiesHelper.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Mono.Cecil; @@ -55,7 +55,7 @@ private static IEnumerable GetAttachedEvents(TypeDefinit private static bool IsAttachedEvent(FieldDefinition field, Dictionary> methods) { - // https://docs.microsoft.com/en-us/dotnet/framework/wpf/advanced/attached-events-overview + // https://learn.microsoft.com/en-us/dotnet/framework/wpf/advanced/attached-events-overview if (!field.Name.EndsWith(EventConst)) return false; var addMethodName = $"Add{GetEventName(field.Name)}Handler"; @@ -92,11 +92,11 @@ private static bool AreAttachedEventMethodParameters(Collection GetAttachedProperties(Type yield return new AttachedPropertyReference(field); } - foreach (var property in type.Properties.Where(t => t.PropertyType.FullName == Consts.DependencyPropertyFullName - || t.PropertyType.FullName == Consts.DependencyPropertyFullNameWindowsXaml - || t.PropertyType.FullName == Consts.DependencyPropertyFullNameMicrosoftXaml)) - { - if (IsAttachedProperty(property, methods)) - yield return new AttachedPropertyReference(property); + foreach (var property in type.Properties.Where(t => t.PropertyType.FullName == Consts.DependencyPropertyFullName + || t.PropertyType.FullName == Consts.DependencyPropertyFullNameWindowsXaml + || t.PropertyType.FullName == Consts.DependencyPropertyFullNameMicrosoftXaml)) + { + if (IsAttachedProperty(property, methods)) + yield return new AttachedPropertyReference(property); } } private static bool IsAttachedProperty(FieldDefinition field, Dictionary> methods) { - // https://docs.microsoft.com/en-us/dotnet/framework/wpf/advanced/attached-properties-overview + // https://learn.microsoft.com/en-us/dotnet/framework/wpf/advanced/attached-properties-overview // https://github.com/mono/api-doc-tools/issues/63#issuecomment-328995418 if (!field.Name.EndsWith(PropertyConst, StringComparison.Ordinal)) return false; @@ -155,30 +155,30 @@ private static bool IsAttachedProperty(FieldDefinition field, Dictionary> methods) - { - + { + if (!property.Name.EndsWith(PropertyConst, StringComparison.Ordinal)) return false; - var propertyName = GetPropertyName(property.Name); + var propertyName = GetPropertyName(property.Name); var getMethodName = $"Get{propertyName}"; var setMethodName = $"Set{propertyName}"; var hasExistingProperty = property?.DeclaringType?.Properties.Any(p => p.Name.Equals(propertyName, StringComparison.Ordinal) && GetCheckVisible(p.Resolve())); var hasExistingField = property?.DeclaringType?.Fields.Any(f => f.Name.Equals(propertyName, StringComparison.Ordinal) && GetCheckVisible(f.Resolve())); - return !hasExistingProperty.IsTrue() && !hasExistingField.IsTrue() && - // Class X has a static field of type DependencyProperty [Name]Property - (property.PropertyType.FullName == Consts.DependencyPropertyFullName || property.PropertyType.FullName == Consts.DependencyPropertyFullNameWindowsXaml - || property.PropertyType.FullName == Consts.DependencyPropertyFullNameMicrosoftXaml) - - - // Class X also has static methods with the following names: Get[Name] or Set[Name] + return !hasExistingProperty.IsTrue() && !hasExistingField.IsTrue() && + // Class X has a static field of type DependencyProperty [Name]Property + (property.PropertyType.FullName == Consts.DependencyPropertyFullName || property.PropertyType.FullName == Consts.DependencyPropertyFullNameWindowsXaml + || property.PropertyType.FullName == Consts.DependencyPropertyFullNameMicrosoftXaml) + + + // Class X also has static methods with the following names: Get[Name] or Set[Name] && ((methods.ContainsKey(getMethodName) && methods[getMethodName].Any(IsAttachedPropertyGetMethod)) - || (methods.ContainsKey(setMethodName) && methods[setMethodName].Any(IsAttachedPropertySetMethod))); - + || (methods.ContainsKey(setMethodName) && methods[setMethodName].Any(IsAttachedPropertySetMethod))); + } private static bool IsAttachedPropertyGetMethod(MethodDefinition method) @@ -190,7 +190,7 @@ private static bool IsAttachedPropertyGetMethod(MethodDefinition method) // The Get method takes one argument of type DependencyObject(or something IsAssignableTo(DependencyObject), && (IsAssignableTo(method.Parameters[0].ParameterType, Consts.DependencyObjectFullName) || - IsAssignableTo(method.Parameters[0].ParameterType, Consts.DependencyObjectFullNameWinRT) || + IsAssignableTo(method.Parameters[0].ParameterType, Consts.DependencyObjectFullNameWinRT) || IsAssignableTo(method.Parameters[0].ParameterType, Consts.DependencyObjectFullNameWinUI)); } @@ -200,15 +200,15 @@ private static bool IsAttachedPropertySetMethod(MethodDefinition method) // The first has type DependencyObject(or IsAssignableTo…), && (IsAssignableTo(method.Parameters[0].ParameterType, Consts.DependencyObjectFullName) || - IsAssignableTo(method.Parameters[0].ParameterType, Consts.DependencyObjectFullNameWinRT) || - IsAssignableTo(method.Parameters[0].ParameterType, Consts.DependencyObjectFullNameWinUI) || + IsAssignableTo(method.Parameters[0].ParameterType, Consts.DependencyObjectFullNameWinRT) || + IsAssignableTo(method.Parameters[0].ParameterType, Consts.DependencyObjectFullNameWinUI) || IsAssignableTo(method.Parameters[0].ParameterType, Consts.DependencyPropertyFullNameIInputElement) || IsAssignableTo(method.Parameters[0].ParameterType, Consts.DependencyPropertyFullNameObject)) - - // the second has type dp.PropertyType (or IsAssignableTo…). - // && IsAssignableTo(method.Parameters[1].ParameterType, "") - - // It returns void. + + // the second has type dp.PropertyType (or IsAssignableTo…). + // && IsAssignableTo(method.Parameters[1].ParameterType, "") + + // It returns void. && method.ReturnType.FullName == Consts.VoidFullName; } #endregion @@ -222,58 +222,58 @@ private static bool IsAssignableTo(TypeReference type, string targetTypeName) return type.FullName == targetTypeName; return type.FullName == targetTypeName || IsAssignableTo(typeDefenition.BaseType, targetTypeName); - } - - private static bool GetCheckVisible(IMemberDefinition member) - { - if (member == null) - throw new ArgumentNullException("member"); - PropertyDefinition prop = member as PropertyDefinition; - if (prop != null) - return ChkPropertyVisible(prop); - FieldDefinition field = member as FieldDefinition; - if (field != null) - return ChkFieldVisible(field); - return false; - } - + } + + private static bool GetCheckVisible(IMemberDefinition member) + { + if (member == null) + throw new ArgumentNullException("member"); + PropertyDefinition prop = member as PropertyDefinition; + if (prop != null) + return ChkPropertyVisible(prop); + FieldDefinition field = member as FieldDefinition; + if (field != null) + return ChkFieldVisible(field); + return false; + } + private static bool ChkPropertyVisible(PropertyDefinition property) - { - MethodDefinition method; - bool get_visible = false; - bool set_visible = false; - - if ((method = property.GetMethod) != null && - (DocUtils.IsExplicitlyImplemented(method) || - (!method.IsPrivate && !method.IsAssembly && !method.IsFamilyAndAssembly))) - get_visible = true; - - if ((method = property.SetMethod) != null && - (DocUtils.IsExplicitlyImplemented(method) || - (!method.IsPrivate && !method.IsAssembly && !method.IsFamilyAndAssembly))) - set_visible = true; - - if ((set_visible == false) && (get_visible == false)) - return false; - else - return true; + { + MethodDefinition method; + bool get_visible = false; + bool set_visible = false; + + if ((method = property.GetMethod) != null && + (DocUtils.IsExplicitlyImplemented(method) || + (!method.IsPrivate && !method.IsAssembly && !method.IsFamilyAndAssembly))) + get_visible = true; + + if ((method = property.SetMethod) != null && + (DocUtils.IsExplicitlyImplemented(method) || + (!method.IsPrivate && !method.IsAssembly && !method.IsFamilyAndAssembly))) + set_visible = true; + + if ((set_visible == false) && (get_visible == false)) + return false; + else + return true; } private static bool ChkFieldVisible(FieldDefinition field) - { - TypeDefinition declType = (TypeDefinition)field.DeclaringType; - - if (declType.IsEnum && field.Name == "value__") - return false; // This member of enums aren't documented. - - return field.IsPublic || field.IsFamily || field.IsFamilyOrAssembly; - + { + TypeDefinition declType = (TypeDefinition)field.DeclaringType; + + if (declType.IsEnum && field.Name == "value__") + return false; // This member of enums aren't documented. + + return field.IsPublic || field.IsFamily || field.IsFamilyOrAssembly; + } - } - internal static class NBoolExtensions - { - public static bool IsTrue (this Nullable value) => - value.HasValue && value.Value; + } + internal static class NBoolExtensions + { + public static bool IsTrue (this Nullable value) => + value.HasValue && value.Value; } } diff --git a/mdoc/Test/AttachedEventsAndProperties/AttachedEventExample.cs b/mdoc/Test/AttachedEventsAndProperties/AttachedEventExample.cs index a2d0b3f98..77075bd18 100644 --- a/mdoc/Test/AttachedEventsAndProperties/AttachedEventExample.cs +++ b/mdoc/Test/AttachedEventsAndProperties/AttachedEventExample.cs @@ -17,7 +17,7 @@ public static void RemoveDragOverHandler(DependencyObject element, DragEventHand } #endregion - #region docs.microsoft.com example + #region learn.microsoft.com example public static readonly RoutedEvent NeedsCleaningEvent; public static void AddNeedsCleaningHandler(DependencyObject d, RoutedEventHandler handler) { diff --git a/mdoc/Test/AttachedEventsAndProperties/AttachedPropertyExample.cs b/mdoc/Test/AttachedEventsAndProperties/AttachedPropertyExample.cs index a6abd724c..ff039a994 100644 --- a/mdoc/Test/AttachedEventsAndProperties/AttachedPropertyExample.cs +++ b/mdoc/Test/AttachedEventsAndProperties/AttachedPropertyExample.cs @@ -5,7 +5,7 @@ namespace AttachedEventsAndProperties { public static class AttachedPropertyExample { - #region modified docs.microsoft.com example + #region modified learn.microsoft.com example public static readonly DependencyProperty IsBubbleSourceProperty = DependencyProperty.RegisterAttached( "IsBubbleSource", From 6fa45e72f7380fcca09404920b192462eb34ba46 Mon Sep 17 00:00:00 2001 From: huangmin-ms Date: Thu, 29 Sep 2022 14:39:15 +0800 Subject: [PATCH 02/11] update --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6cf4ff608..17c039033 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,7 @@ name: $(SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.r) variables: solution: 'apidoctools.sln' buildConfiguration: 'Release' - mdocPath: 'bin/$(buildConfiguration)' + mdocPath: 'bin/$(buildConfiguration)-6.0' stages: - stage: SDLCheck From ec5e373dc275ba94a69b96e7d624337724a8f866 Mon Sep 17 00:00:00 2001 From: huangmin-ms Date: Thu, 29 Sep 2022 14:48:38 +0800 Subject: [PATCH 03/11] update --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 17c039033..5dfa49c00 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,7 @@ name: $(SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.r) variables: solution: 'apidoctools.sln' buildConfiguration: 'Release' - mdocPath: 'bin/$(buildConfiguration)-6.0' + mdocPath: 'bin/$(buildConfiguration)-net6.0' stages: - stage: SDLCheck From 27489ec679b9b9bace5317e9287f661e42f181a0 Mon Sep 17 00:00:00 2001 From: Min Huang Date: Fri, 30 Sep 2022 10:42:03 +0800 Subject: [PATCH 04/11] update --- mdoc/mdoc.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/mdoc/mdoc.csproj b/mdoc/mdoc.csproj index 267427af0..70075ec93 100644 --- a/mdoc/mdoc.csproj +++ b/mdoc/mdoc.csproj @@ -7,6 +7,7 @@ false false false + win-x64 From 8fa9751e0dcb6336c5e8a73832ea43e77f369ecf Mon Sep 17 00:00:00 2001 From: Min Huang Date: Fri, 30 Sep 2022 11:12:41 +0800 Subject: [PATCH 05/11] update --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 59360081f..2a1e1eaef 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ all: build build: $(MDOC) $(MDOC): - dotnet build -v:n apidoctools.sln /p:Configuration=$(CONFIGURATION) + dotnet build -v:n apidoctools.sln /p:Configuration=$(CONFIGURATION) -r win-x64 --no-self-contained prepare: git submodule update --init --recursive @@ -18,6 +18,7 @@ prepare: clean: dotnet build -v:n apidoctools.sln /t:clean /p:Configuration=$(CONFIGURATION) rm -rf bin/$(CONFIGURATION) + rm -rf bin/$(CONFIGURATION)-net6.0 check: build check-monodoc check-mdoc From 10b3ba0bef54129b8669b0d17089348adaa21a33 Mon Sep 17 00:00:00 2001 From: Min Huang Date: Fri, 30 Sep 2022 11:14:33 +0800 Subject: [PATCH 06/11] update --- mdoc/mdoc.csproj | 1 - 1 file changed, 1 deletion(-) diff --git a/mdoc/mdoc.csproj b/mdoc/mdoc.csproj index 70075ec93..267427af0 100644 --- a/mdoc/mdoc.csproj +++ b/mdoc/mdoc.csproj @@ -7,7 +7,6 @@ false false false - win-x64 From 015bb7ecb83cfd37831e493a2e7eca228fa90a96 Mon Sep 17 00:00:00 2001 From: Min Huang Date: Fri, 30 Sep 2022 12:01:46 +0800 Subject: [PATCH 07/11] upate --- Makefile | 2 +- azure-pipelines.yml | 2 +- mdoc/Makefile | 2 +- mdoc/mdoc.csproj | 2 ++ mdoc/mdoc.nuspec | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 2a1e1eaef..24453e148 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ all: build build: $(MDOC) $(MDOC): - dotnet build -v:n apidoctools.sln /p:Configuration=$(CONFIGURATION) -r win-x64 --no-self-contained + dotnet build -v:n apidoctools.sln /p:Configuration=$(CONFIGURATION) prepare: git submodule update --init --recursive diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5dfa49c00..d37e4f3a2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,7 @@ name: $(SourceBranchName)-$(Date:yyyyMMdd)$(Rev:.r) variables: solution: 'apidoctools.sln' buildConfiguration: 'Release' - mdocPath: 'bin/$(buildConfiguration)-net6.0' + mdocPath: 'bin/$(buildConfiguration)-net6.0/win-x64' stages: - stage: SDLCheck diff --git a/mdoc/Makefile b/mdoc/Makefile index 5fe352dd5..e2c916747 100644 --- a/mdoc/Makefile +++ b/mdoc/Makefile @@ -62,7 +62,7 @@ nunit: mono ../packages/NUnit.ConsoleRunner.3.6.0/tools/nunit3-console.exe mdoc.Test/bin/$(CONFIGURATION)/mdoc.Test.dll dotnet-test: - dotnet test mdoc.Test/bin/$(CONFIGURATION)-net6.0/mdoc.Test.dll + dotnet test mdoc.Test/bin/$(CONFIGURATION)-net6.0/win-x64/mdoc.Test.dll Test/DocTest-VB-Eii.dll: $(VBCOMPILE) -out:Test/DocTest-VB-Eii.dll Test/ClassEnumerator.vb diff --git a/mdoc/mdoc.csproj b/mdoc/mdoc.csproj index 267427af0..f5a78616d 100644 --- a/mdoc/mdoc.csproj +++ b/mdoc/mdoc.csproj @@ -15,6 +15,8 @@ $(MSBuildThisFileDirectory)..\bin\$(Configuration)-$(TargetFramework) + win-x64 + false diff --git a/mdoc/mdoc.nuspec b/mdoc/mdoc.nuspec index 58ffbbfc9..c768c0d83 100644 --- a/mdoc/mdoc.nuspec +++ b/mdoc/mdoc.nuspec @@ -15,6 +15,6 @@ - + \ No newline at end of file From 11245f3bfeb5e4199b1bf3e4e37410dbb826e956 Mon Sep 17 00:00:00 2001 From: Min Huang Date: Fri, 30 Sep 2022 12:50:32 +0800 Subject: [PATCH 08/11] update --- mdoc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdoc/Makefile b/mdoc/Makefile index e2c916747..5fe352dd5 100644 --- a/mdoc/Makefile +++ b/mdoc/Makefile @@ -62,7 +62,7 @@ nunit: mono ../packages/NUnit.ConsoleRunner.3.6.0/tools/nunit3-console.exe mdoc.Test/bin/$(CONFIGURATION)/mdoc.Test.dll dotnet-test: - dotnet test mdoc.Test/bin/$(CONFIGURATION)-net6.0/win-x64/mdoc.Test.dll + dotnet test mdoc.Test/bin/$(CONFIGURATION)-net6.0/mdoc.Test.dll Test/DocTest-VB-Eii.dll: $(VBCOMPILE) -out:Test/DocTest-VB-Eii.dll Test/ClassEnumerator.vb From 945758ad3d4b48be10b93ae63701b77ab2d0d4d1 Mon Sep 17 00:00:00 2001 From: Min Huang Date: Fri, 30 Sep 2022 14:51:55 +0800 Subject: [PATCH 09/11] update --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d37e4f3a2..16907e312 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -120,15 +120,15 @@ stages: condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) inputs: ConnectedServiceName: 'CodeSigning-APEX' - FolderPath: '$(mdocPath)' + FolderPath: 'bin' UseMinimatch: true signConfigType: inlineSignParams SessionTimeout: '60' MaxConcurrency: '100' MaxRetryAttempts: '5' Pattern: | - *.dll - *.exe + **\*.dll + **\*.exe inlineOperation: | [ { From b55c91ed8f7e49ef8cec0dfeeea4df8a453198de Mon Sep 17 00:00:00 2001 From: Min Huang Date: Fri, 30 Sep 2022 15:39:13 +0800 Subject: [PATCH 10/11] change code sign service --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 16907e312..f5927d37d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -206,7 +206,7 @@ stages: displayName: 'Sign NuGet packages' condition: eq(variables['mdocVersion.NeedUpdate'], true) inputs: - ConnectedServiceName: 'CodeSigning-APEX' + ConnectedServiceName: 'Docs ESRP Code Signing' FolderPath: '$(Build.ArtifactStagingDirectory)' Pattern: '*.nupkg' signConfigType: inlineSignParams From 8d99a0557f638d6642d744f2da9ac43a8e1ac657 Mon Sep 17 00:00:00 2001 From: Min Huang Date: Sun, 9 Oct 2022 17:05:30 +0800 Subject: [PATCH 11/11] update --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f5927d37d..16907e312 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -206,7 +206,7 @@ stages: displayName: 'Sign NuGet packages' condition: eq(variables['mdocVersion.NeedUpdate'], true) inputs: - ConnectedServiceName: 'Docs ESRP Code Signing' + ConnectedServiceName: 'CodeSigning-APEX' FolderPath: '$(Build.ArtifactStagingDirectory)' Pattern: '*.nupkg' signConfigType: inlineSignParams