Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MDocUpdater] Fix assembly info duplication #638

Merged
merged 1 commit into from
Jul 14, 2022

Conversation

pjcollins
Copy link
Contributor

The AssemblyPublicKey and AssemblyCulture elements will be added to
to a docs index.xml file every time the tool runs, even if the element
already exists. Fix this by using MDocUpdater.WriteElement to write
these elements, as it will first check for an existing element rather
than always creating a new one.

@huangmin-ms
Copy link
Collaborator

@pjcollins please target to develop branch for contribution. Thanks!

@pjcollins pjcollins changed the base branch from main to develop June 24, 2022 15:50
The `AssemblyPublicKey` and `AssemblyCulture` elements will be added to
to a docs `index.xml` file every time the tool runs, even if the element
already exists.  Fix this by using `MDocUpdater.WriteElement` to write
these elements, as it will first check for an existing element rather
than always creating a new one.
@huangmin-ms huangmin-ms merged commit 1822990 into mono:develop Jul 14, 2022
jonpryor pushed a commit to dotnet/android that referenced this pull request Jul 18, 2022
Context: mono/api-doc-tools@039a030
Context: mono/api-doc-tools#638

Changes: mono/api-doc-tools@mdoc-5.8.5...mdoc-5.8.9.2

Updates [mdoc][0] to the latest release, and add a parameter to
`azure-pipelines-apidocs.yaml` to allow any version of mdoc to be
used when generating docs.

[0]: https://www.nuget.org/packages/mdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants