diff --git a/tools/net-changelog-gen-mgmt/Azure.SDK.Management.ChangelogGen/Azure.SDK.Management.ChangelogGen.csproj b/tools/net-changelog-gen-mgmt/Azure.SDK.Management.ChangelogGen/Azure.SDK.Management.ChangelogGen.csproj index 6733e831598..878c8304f15 100644 --- a/tools/net-changelog-gen-mgmt/Azure.SDK.Management.ChangelogGen/Azure.SDK.Management.ChangelogGen.csproj +++ b/tools/net-changelog-gen-mgmt/Azure.SDK.Management.ChangelogGen/Azure.SDK.Management.ChangelogGen.csproj @@ -10,7 +10,7 @@ - + diff --git a/tools/net-changelog-gen-mgmt/Azure.SDK.Management.ChangelogGen/Program.cs b/tools/net-changelog-gen-mgmt/Azure.SDK.Management.ChangelogGen/Program.cs index 6ce7ac3fe8a..90a20923b11 100644 --- a/tools/net-changelog-gen-mgmt/Azure.SDK.Management.ChangelogGen/Program.cs +++ b/tools/net-changelog-gen-mgmt/Azure.SDK.Management.ChangelogGen/Program.cs @@ -1,14 +1,11 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System.Collections; using System.Reflection; -using System.Text.RegularExpressions; using Azure.SDK.ChangelogGen.Compare; using Azure.SDK.ChangelogGen.Report; using Azure.SDK.ChangelogGen.Utilities; using LibGit2Sharp; -using Markdig.Parsers; namespace Azure.SDK.ChangelogGen { @@ -36,7 +33,8 @@ static void Main(string[] args) } Context context = new Context(); - if (!context.Init(args)) { + if (!context.Init(args)) + { return; } @@ -156,7 +154,7 @@ static void Main(string[] args) else { Logger.Log($"Spec Tag change detected: {baselineVersionTag} -> {curVersionTag}"); - return new StringValueChange(curVersionTag, baselineVersionTag, + return new StringValueChange(curVersionTag, baselineVersionTag, $"Upgraded api-version tag from '{baselineVersionTag}' to '{curVersionTag}'. Tag detail available at {source}"); } } @@ -173,7 +171,8 @@ public static ChangeSet CompareApi(string curApiFileContent, string baselineApiF List azureRefs = new List() { typeof(Azure.ResourceManager.ArmClient).Assembly.Location, - typeof(Azure.Core.AzureLocation).Assembly.Location + typeof(Azure.Core.AzureLocation).Assembly.Location, + typeof(System.ClientModel.Primitives.ModelReaderWriter).Assembly.Location, }; List allRefs = runtimeRefs.Concat(azureRefs).ToList(); Assembly curApi = CompileHelper.Compile("curApi.dll", curApiFileContent, allRefs);