Skip to content

Conversation

@allantargino
Copy link
Contributor

Instead of using a hardcoded version of the assembly version on the logging generated baseline files used by tests we use replacement tokens and at runtime we replace them.

fix #58175

Instead of using a hardcoded version of the assembly version
on the logging generated baseline files used by tests we use
replacement tokens and at runtime we replace them.

fix dotnet#58175
@ghost ghost added area-Extensions-Logging community-contribution Indicates that the PR has been added by a community member labels Aug 26, 2021
@ghost
Copy link

ghost commented Aug 26, 2021

Tagging subscribers to this area: @maryamariyan
See info in area-owners.md if you want to be subscribed.

Issue Details

Instead of using a hardcoded version of the assembly version on the logging generated baseline files used by tests we use replacement tokens and at runtime we replace them.

fix #58175

Author: allantargino
Assignees: -
Labels:

area-Extensions-Logging

Milestone: -

@maryamariyan
Copy link
Contributor

cc @ViktorHofer

@ViktorHofer
Copy link
Member

Thanks a lot @allantargino 👍

@Anipik
Copy link
Contributor

Anipik commented Sep 10, 2021

/backport to release/6.0

@github-actions
Copy link
Contributor

Anipik pushed a commit that referenced this pull request Sep 15, 2021
… build (#58919)

* increment source generator assembly versions with every build

* use isGenerator Project property

* add comment

* Replacement tokens in logging test baseline files (#58220)

* Replacement tokens in logging test baseline files

Instead of using a hardcoded version of the assembly version
on the logging generated baseline files used by tests we use
replacement tokens and at runtime we replace them.

fixes #58175

Co-authored-by: Anirudh Agnihotry <[email protected]>
Co-authored-by: Allan Targino <[email protected]>
@allantargino allantargino deleted the issue-58175 branch September 27, 2021 19:48
@ghost ghost locked as resolved and limited conversation to collaborators Nov 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Extensions-Logging community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Microsoft.Extensions.Logging.Generators.Tests hardcode the AssemblyVersion

5 participants